CVE Database›Document archive›CVE-2026-11525

CVE-2026-11525

undici: undici: Weakening of cookie SameSite policy due to incorrect parsing of Set-Cookie header

Loading…

Severity

Low

Red Hat Product Security

3.7

CVSS 3.1

Review impact separately from score.

Published · June 18, 2026

Updated · October 27, 2026

Description

A flaw was found in undici. 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.

Statement

This Low impact flaw in undici, as used in various Red Hat products, arises from incorrect parsing of the SameSite cookie attribute. A malicious server could exploit this by sending a specially crafted Set-Cookie header, causing the SameSite policy to be downgraded to a less secure setting. This could lead to a minor weakening of security protections or unintended information disclosure in applications that process and rely on these cookie attributes.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

CVSS 3.1 · 3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

CWE-1286 · Improper Validation of Syntactic Correctness of Input