Home / undici / undici / CVE-2026-11525
CVE-2026-11525: is it exploited, and which versions of undici are affected and fixed?
CVE-2026-11525 is a permissive List of Allowed Inputs vulnerability in undici. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: undici before 6.27.0, undici from 7.0.0 before 7.28.0 and undici from 8.0.0 before 8.5.0 (GitHub advisory GHSA-g8m3-5g58-fq7m). Fixed in 6.27.0, 7.28.0 and 8.5.0 (GitHub advisory GHSA-g8m3-5g58-fq7m). Severity: Low (3.7, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-11525?
undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching
Impact: When undici parses a Set-Cookie header, it accepts any SameSite attribute value that contains Strict, Lax, or None as a substring, rather than the case-insensitive exact match specified by RFC 6265. Non-spec values are silently mapped to one of the three standard tokens. For example, SameSite=NoneOfYourBusiness is parsed as None (the most permissive setting), and SameSite=StrictLax is parsed as Lax (a downgrade from Strict). Affected applications are those that consume Set-Cookie headers from server responses (for example via undici's fetch or proxy code paths) and then forward or rely on the parsed sameSite attribute. A malicious or non-compliant server can coerce the consumer's view of a cookie's SameSite policy to a weaker value, silently degrading the SameSite enforcement the cookie is supposed to provide. This was introduced in undici 5.15.0 when the cookies feature was added. Patches: Upgrade to undici v6.26.0, v7.28.0 or v8.5.0. Workarounds: After parsing a Set-Cookie header, validate that the resulting sameSite attribute is one of 'Strict', 'Lax', or 'None' (exact, case-insensitive) before forwarding or relying on it.
From the CVE record by openjs, last updated June 17, 2026, 17:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| undici | undici | before 6.26.0 from 7.0.0 before 7.28.0 from 8.0.0 before 8.5.0 | 6.26.0, 7.28.0, 8.5.0 |
As the CVE record by openjs states it, last updated June 17, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | undici | < 6.27.0 | 6.27.0 | GHSA-g8m3-5g58-fq7m |
| npm | undici | >= 7.0.0, < 7.28.0 | 7.28.0 | GHSA-g8m3-5g58-fq7m |
| npm | undici | >= 8.0.0, < 8.5.0 | 8.5.0 | GHSA-g8m3-5g58-fq7m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 19, 2026. Summary: undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nodejs | undici | before 6.27.0 | application |
| nodejs | undici | from 7.0.0 before 7.28.0 | application |
| nodejs | undici | from 8.0.0 before 8.5.0 | application |
NVD analysis (status Analyzed), last modified June 25, 2026, 17:46 UTC.
How severe is CVE-2026-11525?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | openjs |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-11525 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 17, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-183 Permissive List of Allowed Inputs
Where are the vendor advisories and references?
- https://github.com/nodejs/undici/security/advisories/GHSA-g8m3-5g58-fq7m
- https://cna.openjsf.org/security-advisories.html
Who found and reported it?
- UlisesGascon (remediation reviewer)
- KhafraDev (remediation reviewer)
- mcollina (remediation developer)
- tndud042713 (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 7, 2026
- Published
- June 17, 2026, 17:31 UTC
- CVE record updated
- June 17, 2026, 17:54 UTC by openjs
- NVD
- Analyzed, last modified June 25, 2026, 17:46 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect undici?
- Nov 6, 2026CVE-2026-116630 undici: origin not validated
- Nov 6, 2026CVE-2026-120415 undici: information disclosure
- Nov 6, 2026CVE-2026-120423 undici: improper Validation of Integrity Check Value
- Nov 6, 2026CVE-2026-116592 undici: origin not validated
- Nov 6, 2026CVE-2026-120222 undici: uncaught exception (crash)
- Nov 6, 2026CVE-2026-120474 undici: use of Cache Containing Sensitive Information
- Oct 15, 2026CVE-2026-87029 undici: uncaught exception (crash)
- Oct 15, 2026CVE-2026-109932 undici: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-11525
Is CVE-2026-11525 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of undici are affected by CVE-2026-11525?
undici before 6.27.0, undici from 7.0.0 before 7.28.0 and undici from 8.0.0 before 8.5.0, per the GitHub advisory GHSA-g8m3-5g58-fq7m. The tables above give every range the sources list.
Which version fixes CVE-2026-11525?
6.27.0, 7.28.0 and 8.5.0, per the GitHub advisory GHSA-g8m3-5g58-fq7m. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-11525?
Low (3.7, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-11525?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.