Low
2.3
Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel
CVE-2026-16052
First seen on SecPulse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Python Software FoundationCPython |
< 3.16.0→ 3.16.0 |
3.16.0 |
| Bitnamilibpython |
< 3.16.0→ 3.16.0 |
3.16.0 |
| Bitnamipython |
< 3.16.0→ 3.16.0 |
3.16.0 |
| Bitnamipython-min |
< 3.16.0→ 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.
- BellSoft Alpaquita BELL-CVE-2026-16052 python3 Fix available
- Debian DEBIAN-CVE-2026-16052 python3.15, python3.14, python3.13 +1 more No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-16052 python3.14, python3.12, python3.11 +8 more No fixed version in this record
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
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- PYTHON-SECURITY-ANNOUNCE [Security-announce][CVE-2026-16052] Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel
- report github.com
- web mail.python.org
- web mail.python.org
- web github.com