CVE Program
CNA-CVE-2026-16052
Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Python | python | All versions before 3.16.0 (fixed in 3.16.0) |