Skip to content
VulniPulse
Low3.7Red Hat Linux

Low [CVE-2026-11525] Weakening of cookie SameSite policy due to incorrect parsing of Set-Cookie header

This low-severity Red Hat Linux advisory covers CVE-2026-11525 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.

CVE-2026-11525 Published Jun 17, 2026Updated by vendor Jun 17, 2026
Affected products & platforms
Red Hat LinuxUnclassified
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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. When undici processes Set-Cookie headers, it incorrectly interprets the SameSite attribute, accepting partial matches instead of exact ones.

This allows a malicious server to downgrade a cookie's SameSite policy to a less secure setting, potentially leading to unintended information disclosure or a weakening of security protections for the user.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 15 days ago·verify at source

Fixed versions
  • 26.0
  • 28.0
  • nodejs24-1:24.18.0-1.el10_2
  • nodejs22-1:22.23.1-2.el10_2
  • nodejs:24-8100020260630152626.6d880403
  • nodejs:22-8100020260703140402.6d880403
  • nodejs:24-9080020260626074955.rhel9
  • nodejs:22-9080020260626075442.rhel9
  • nodejs24-main-24.18.0-0.3.hum1
  • nodejs26-main-26.5.0-1.5.hum1
  • RHSA-2026:35841
  • RHSA-2026:35842
  • RHSA-2026:39868
  • RHSA-2026:41947
  • RHSA-2026:35891
  • RHSA-2026:35892
  • RHSA-2026:38236
  • RHSA-2026:45783

Official advisory · high-confidence parse· fetched 15 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Official advisory · high-confidence parse· fetched 15 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.