freenode

← CVE tracker

CVE-2026-16052

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

Severity
low CVSS 2.3 (v4.0)
Affects
CPython · Python Software Foundation
Weakness
CWE-74
Published
12 November 2026 by PSF
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.