ADVISORIES

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

EcosystemPackageAffected versions
Pythonpython
All versions before 3.16.0 (fixed in 3.16.0)

References