CVE-2026-16052

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

Published Nov 12, 2026 CVSS 4.0 · 2.3 Low EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Python
Python cpython
Python Software Foundation
Python Software Foundation cpython
Vendors & Products Python
Python cpython
Python Software Foundation
Python Software Foundation cpython
Type Values Removed Values Added
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.
Title Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel
Weaknesses CWE-74
References
Metrics cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PSF
Published
Updated
Nov 12, 2026, 4:28 PM
Reserved
Jul 17, 2026, 10:34 AM
Status
Awaiting Analysis
Published
Nov 12, 2026, 5:17 PM
Modified
Nov 12, 2026, 5:17 PM