Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-11525— undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching

CVSS 3.7 · Low EPSS 0.25% · P16

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 6

VendorProductVersion RangeStatus
undiciundici< 6.26.0affected
6.26.0unaffected
7.0.0< 7.28.0affected
7.28.0unaffected
8.0.0< 8.5.0affected
8.5.0unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-11525

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
宽松定义的白名单
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
undiciundici 0 ~ 6.26.0 -

II. Public POCs for CVE-2026-11525

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-11525

登录查看更多情报信息。

Vendor Advisories for CVE-2026-11525 (1)

Same Patch Batch · undici · 2026-06-17 · 8 CVEs total

CVE-2026-96757.5 HIGHundici WebSocket client vulnerable to denial of service via cumulative fragment bypass
CVE-2026-121517.5 HIGHundici WebSocket client vulnerable to denial of service via fragment count bypass
CVE-2026-67347.5 HIGHundici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse
CVE-2026-96977.4 HIGHundici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 Pr
CVE-2026-96795.9 MEDIUMundici vulnerable to HTTP header injection via Set-Cookie percent-decoding
CVE-2026-96785.9 MEDIUMundici vulnerable to cross-user information disclosure via shared cache whitespace bypass
CVE-2026-67333.7 LOWundici vulnerable to HTTP response queue poisoning via keep-alive socket reuse

IV. Related Vulnerabilities

V. Comments for CVE-2026-11525

No comments yet


Leave a comment