{"id":"CVE-2026-119346","aliases":["GHSA-f3mh-rxg3-f5g2"],"title":"Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes","titleSource":"GitHub_M","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"Next.js applications that set cookies through `NextResponse` on Edge runtime routes — App Router route handlers and Pages Router Edge API routes — send an internal `x-middleware-set-cookie` header in the public response, duplicating the cookie value and its attributes. This makes HttpOnly cookies, such as session tokens, readable by JavaScript running on the same origin when an application sets a sensitive cookie on an affected response.","severity":"medium","score":6,"published":"2026-11-16T18:41:25.288Z","modified":"2026-11-19T22:45:06.180Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"npm","name":"next","sources":[{"name":"OSV · GHSA-f3mh-rxg3-f5g2","url":"https://osv.dev/vulnerability/GHSA-f3mh-rxg3-f5g2"}],"ranges":[{"events":[{"introduced":"15.0.0"},{"fixed":"15.5.29"}],"type":"SEMVER"}],"versions":[],"fixed":["15.5.29"]},{"ecosystem":"npm","name":"next","sources":[{"name":"OSV · GHSA-f3mh-rxg3-f5g2","url":"https://osv.dev/vulnerability/GHSA-f3mh-rxg3-f5g2"}],"ranges":[{"events":[{"introduced":"16.0.0"},{"fixed":"16.4.5"}],"type":"SEMVER"}],"versions":[],"fixed":["16.4.5"]}],"sourceAffected":[],"references":["https://github.com/vercel/next.js/security/advisories/GHSA-f3mh-rxg3-f5g2","https://github.com/vercel/next.js/commit/809be725f033ec7aa4c658ba2b7a084cb039d1f2","https://github.com/vercel/next.js/commit/9fc04bd869ded4900bed7d069832aa2c5f56fa29","https://github.com/vercel/next.js/releases/tag/v15.5.29","https://github.com/vercel/next.js/releases/tag/v16.4.5","https://nextjs.org/blog/november-2026-security-release","https://nvd.nist.gov/vuln/detail/CVE-2026-119346","https://github.com/vercel/next.js"],"sources":[{"name":"CVE","id":"CVE-2026-119346","modified":"2026-11-17T16:21:55.965Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119346"},{"name":"OSV","id":"GHSA-f3mh-rxg3-f5g2","modified":"2026-11-19T22:45:06.180078081Z","url":"https://osv.dev/vulnerability/GHSA-f3mh-rxg3-f5g2"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6}],"cve":{"records":[{"id":"CVE-2026-119346","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-29T20:44:30.287Z","published":"2026-11-16T18:41:25.288Z","modified":"2026-11-17T16:21:55.965Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-11-16T18:41:50.674Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-17T16:21:55.965Z"}],"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-f3mh-rxg3-f5g2","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/vercel/next.js/commit/809be725f033ec7aa4c658ba2b7a084cb039d1f2","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/vercel/next.js/commit/9fc04bd869ded4900bed7d069832aa2c5f56fa29","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/vercel/next.js/releases/tag/v15.5.29","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/vercel/next.js/releases/tag/v16.4.5","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://nextjs.org/blog/november-2026-security-release","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-200","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","source":"GitHub_M"},{"id":"CWE-201","description":"CWE-201: Insertion of Sensitive Information Into Sent Data","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-17T16:02:55.642828Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"vercel","name":"next.js","platforms":[],"versions":[{"version":">= 15.0.0, < 15.5.29","status":"affected"},{"version":">= 16.0.0, < 16.4.5","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-119346"}],"remediation":[],"observedAt":"2026-11-20T00:27:46.998Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:00:31.797Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-16T18:50:46.395Z","attemptedAt":"2026-11-16T18:50:46.395Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-16T18:50:46.395Z","attemptedAt":"2026-11-16T18:50:46.395Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-16T18:50:45.386Z","attemptedAt":"2026-11-16T18:50:45.386Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-16T18:50:45.752Z","attemptedAt":"2026-11-16T18:50:45.752Z"}],"evidence":[],"aiSummary":{"text":"Next.js versions 15.0.0 to 15.5.28 and 16.0.0 to 16.4.4 expose HttpOnly cookies through an internal response header on Edge runtime routes, making them readable by JavaScript. This affects applications that set sensitive cookies on affected responses.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T00:31:13.788Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119346"},{"name":"OSV","url":"https://osv.dev/vulnerability/GHSA-f3mh-rxg3-f5g2"}]}}