2.3Low

CVE-2026-16052Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel

Python Software Foundation CPython Published: (7 hours ago)

Description

The http.cookies.Morsel class allows separator semicolons in attribute values and includes them verbatim in all output formats. An attacker who can control these values could use this to relax the cookie's Domain or SameSite restrictions.

Weakness (CWE): CWE-74

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Python Software Foundation CPython < 3.16.0

References and patches