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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.238% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 3.7 · published by openjsCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T12:57:58.422Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:58.422Z | CVE Program |
| epss | verified | 2026-11-19T16:04:44.695Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:31.685Z | OSV |
| affected | verified | 2026-11-19T12:57:58.422Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:58.422Z | CVE Program |
Affected versions and configuration
undici undici; default status: unaffected: 0 to < 6.26.0 [affected; scheme: semver]; 6.26.0 [unaffected; scheme: semver]; 7.0.0 to < 7.28.0 [affected; scheme: semver]; 7.28.0 [unaffected; scheme: semver]; 8.0.0 to < 8.5.0 [affected; scheme: semver]; 8.5.0 [unaffected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "undici",
"product": "undici",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "6.26.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.26.0",
"versionType": "semver"
},
{
"status": "affected",
"version": "7.0.0",
"lessThan": "7.28.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.28.0",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.0.0",
"lessThan": "8.5.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "8.5.0",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/undici",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-11525",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-06-17T17:53:40.763762Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-17T17:54:22.022Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-g8m3-5g58-fq7m",
"aliases": [
"CVE-2026-11525"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.27.0"
}
]
}
],
"package": {
"name": "undici",
"purl": "pkg:npm/undici",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-g8m3-5g58-fq7m/GHSA-g8m3-5g58-fq7m.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.28.0"
}
]
}
],
"package": {
"name": "undici",
"purl": "pkg:npm/undici",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-g8m3-5g58-fq7m/GHSA-g8m3-5g58-fq7m.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.5.0"
}
]
}
],
"package": {
"name": "undici",
"purl": "pkg:npm/undici",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-g8m3-5g58-fq7m/GHSA-g8m3-5g58-fq7m.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/nodejs/undici/security/advisories/GHSA-g8m3-5g58-fq7m",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-11525",
"type": "ADVISORY"
},
{
"url": "https://cna.openjsf.org/security-advisories.html",
"type": "WEB"
},
{
"url": "https://github.com/nodejs/undici",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-183"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2026-06-17T18:17:35Z",
"github_reviewed_at": "2026-06-19T14:34:46Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | undici | Not a distribution channel | 6.27.0 | Official record |
| ecosystem-boundary | npm / package | undici | Not a distribution channel | 7.28.0 | Official record |
| ecosystem-boundary | npm / package | undici | Not a distribution channel | 8.5.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:31.685ZArchived source JSON
Source publication: 2026-06-19T14:34:46.000Z
Source modification: 2026-09-10T03:51:08.663ZDocument fingerprint
5d6d75d792b516aad9918564f2547ee8b9e8538569dc2e4ae0c28391e44547c6 - CVE ProgramConsulted: 2026-11-19T12:57:58.422ZArchived source JSON
Source publication: 2026-06-17T17:31:03.163Z
Source modification: 2026-06-17T17:54:22.022ZDocument fingerprint
d353bb4c5d6baab293e5e28e4d11b9053fb4648846e01751baf8485862bc8197 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:44.695ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
62e95506c5b018c01a2905564f02c87bc9c2572b7f691c2bb26903c5f45e6629
Official status history
- UNKNOWN → PUBLISHED · · evidence