CVE-2026-16052
Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel
2.3
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| cpython | python software foundation | 0 → <3.16.0 | 3.16.0 | CVE.org |