Skip to content
Low 2.3

Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel

CVE-2026-16052 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Python Software FoundationCPython
< 3.16.0→ 3.16.0
Bitnamilibpython
< 3.16.0→ 3.16.0
Bitnamipython
< 3.16.0→ 3.16.0
Bitnamipython-min
< 3.16.0→ 3.16.0

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: Python security-announce NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details