Every CVESearch/Get API key

CVE-2026-119346

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

Explain with AI
ChatGPTClaudeGoogle AI
Severity
6.0Medium
Network attack, no privileges, needs user interactionCVSS 4.0, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.41% in 30 days
Percentile37th
EPSS, scored
Listed fix
15.5.29 for next
From GitHub Advisories and OSV1 more listed version, 8 other affected packages

Overview

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.

CVSS 4.0 vector

Exploitability

Attack vector
Network
Complexity
High
Attack requirements
None
Privileges needed
None
User interaction
Passive

Impact on the vulnerable system

Confidentiality
High
Integrity
None
Availability
None

Impact on subsequent systems

Confidentiality
None
Integrity
None
Availability
None
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

Exploit chance over time

Up 0.1 points since Nov 17, 2026
EPSS score, scored every day from Nov 17, 2026 to Dec 4, 2026: lowest 0.30% on Nov 17, 2026, highest 0.49% on Nov 25, 2026, 0.41% on the last day.

Affected

Packages 9

Affected packages
PackageAffectedFixed
next
npm
15.0.0 to 15.5.28
15.5.29
16.0.0 to 16.4.4
16.4.5
15.0.0 up to 15.5.29
15.5.29
16.0.0 up to 16.4.5
16.4.5
homepage-1
Docker Hardened Images:Debian:13
1.13.2-0 and later, plus listed versions
1.13.2-11.13.2-2
None listed
homepage-2
Docker Hardened Images:Debian:13
2.8.0-0 and later, plus listed versions
2.8.0-12.9.1-0
None listed
homepage
Docker Hardened Images:Debian:13
1.13.2-0 and later, plus listed versions
1.13.2-11.13.2-101.13.2-111.13.2-121.13.2-13
Show 41 more versionsShow less
1.13.2-141.13.2-151.13.2-161.13.2-171.13.2-181.13.2-191.13.2-21.13.2-201.13.2-31.13.2-41.13.2-51.13.2-61.13.2-71.13.2-81.13.2-92.0.0-02.0.0-12.1.0-02.1.2-02.1.2-12.2.0-02.3.0-02.4.0-02.4.0-12.5.0-02.5.0-12.6.0-02.6.0-12.6.0-22.7.0-02.7.0-12.7.0-22.7.0-32.7.0-42.7.0-52.7.0-62.8.0-02.8.0-12.8.0-22.8.0-32.9.1-0
None listed
langfuse-3
Docker Hardened Images:Debian:13
3.225.0-0 and later, plus listed versions
3.225.0-13.225.1-03.225.1-13.225.10-03.225.11-0
Show 24 more versionsShow less
3.225.12-03.225.12-13.225.12-23.225.14-03.225.15-03.225.15-13.225.15-23.225.2-03.225.3-03.225.4-03.225.5-03.225.5-13.225.7-03.225.7-13.225.8-03.225.8-13.225.9-03.227.0-03.227.0-13.227.1-03.227.1-13.227.1-23.227.1-33.227.1-4
None listed
langfuse-4
Docker Hardened Images:Debian:13
4.3.1-0 and later, plus listed versions
4.10.0-04.11.0-04.12.0-04.13.0-04.14.0-0
Show 44 more versionsShow less
4.15.0-04.26.0-04.36.1-04.38.0-04.4.0-04.41.0-04.43.0-04.44.0-04.46.0-04.47.0-04.48.0-04.5.0-04.5.0-14.50.0-04.53.0-04.6.0-04.63.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-14.72.0-14.74.0-04.75.0-04.76.0-04.76.0-14.77.0-04.78.0-04.79.0-04.79.0-14.80.0-04.80.0-14.81.0-04.82.0-04.83.0-04.84.0-04.84.0-14.86.0-04.87.0-04.88.0-04.9.0-04.90.0-0
None listed
langfuse-worker-3
Docker Hardened Images:Debian:13
3.174.1-1 and later, plus listed versions
3.186.0-03.187.0-03.187.0-13.188.0-03.191.0-0
Show 45 more versionsShow less
3.191.0-13.193.0-03.194.0-03.194.1-03.194.1-13.195.0-03.197.1-03.198.0-03.200.0-03.201.1-03.202.1-03.203.1-03.203.3-03.204.0-03.205.0-03.205.1-03.206.0-03.208.0-03.210.0-03.212.0-03.213.0-03.214.0-03.216.0-03.216.0-13.218.0-03.219.0-03.221.1-03.222.0-03.222.0-13.223.0-03.224.0-03.224.1-03.224.1-13.224.2-03.224.2-13.224.3-03.224.3-13.225.0-03.225.0-13.225.0-23.225.0-33.225.1-03.225.1-13.225.1-23.225.10-0
None listed
langfuse-worker-4
Docker Hardened Images:Debian:13
4.13.0-0 and later, plus listed versions
4.14.0-04.15.0-04.17.0-04.19.0-04.21.0-0
Show 45 more versionsShow less
4.22.0-04.24.0-04.26.0-04.27.0-04.28.0-04.28.1-04.30.0-04.31.0-04.32.0-04.33.0-04.34.0-04.35.0-04.36.0-04.36.1-04.51.0-04.53.0-04.54.0-04.55.0-04.55.0-14.63.0-04.64.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-24.74.0-04.75.0-04.75.0-14.76.0-04.77.0-04.77.0-14.78.0-04.79.0-04.80.0-04.80.0-14.81.0-04.82.0-04.82.0-14.83.0-04.84.0-04.84.0-14.86.0-04.86.0-1
None listed
supabase-studio
Docker Hardened Images:Debian:13
2026.08.03-0 and later, plus listed versions
2026.09.07-02026.09.07-12026.09.07-22026.09.07-42026.09.07-5
Show 11 more versionsShow less
2026.10.12-02026.10.12-12026.10.12-22026.11.02-02026.11.02-12026.11.02-22026.11.02-32026.11.02-42026.11.02-52026.11.02-62026.11.23-0
None listed

The JSON record also has 30 more versions.

Products 1

Sources

CVE List Score usedCVSS 4.06.0

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.

Record
CVE-2026-119346
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-200, CWE-201
Updated
2026-11-16
EUVDEUVD-2026-126595CVSS 4.06.0

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

Record
EUVD-2026-126595
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-20
GitHub AdvisoriesGHSA-f3mh-rxg3-f5g2CVSS 4.06.0

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

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.

Record
GHSA-f3mh-rxg3-f5g2
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-200, CWE-201
Updated
2026-11-19
NVDCVSS 4.06.0

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.

Record
CVE-2026-119346
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-200, CWE-201
Updated
2026-11-16
OSVCVSS 4.06.0

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.

Record
CVE-2026-119346
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-200, CWE-201
Updated
2026-11-17
OSVDHI-nphz-dnw6-axf7-ua5xCVSS 4.06.0

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js…

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, Next.js applications that use NextResponse to set cookies on Edge runtime routes expose the internal x-middleware-set-cookie header in the public response. This affects App Router route handlers and Pages Router Edge API routes. The header duplicates each cookie value and its attributes, so JavaScript already running on the same origin can read values that the Set-Cookie header marks HttpOnly, including sensitive session tokens set on an affected response. This issue is fixed in versions 16.4.5 and 15.5.29.

Record
DHI-nphz-dnw6-axf7-ua5x
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-12-04
OSVGHSA-f3mh-rxg3-f5g2CVSS 4.06.0

Next.js: HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes

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.

Record
GHSA-f3mh-rxg3-f5g2
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-200, CWE-201
Updated
2026-11-19

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, severityOSV
Affected packagesOSV
Affected packagesOSV
Show 5 more daysShow less
Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDs, published date, referencesEUVD, OSV
Affected packages, referencesOSV
Affected packages, key facts, referencesGitHub Advisories, OSV
Other IDs, referencesNVD, OSV
Other IDs, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open