CVE-2026-16052: Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel

CVE-2026-16052 affects 250 listed versions of Python in the Dawnsentry catalogue.

2.3CVSS low
None knownexploitation
under 1%EPSS (next 30 days)
12 November 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Python

250 of 250 listed versions are affected. Fixed in 3.16.0. The newest release, 3.15.2, is affected too.

3.15.2 3.15.1 3.15.0 3.15.0rc3 3.15.0rc2 3.15.0rc1 3.14.11 3.14.10 3.14.9 3.14.8 3.14.7 3.14.6 3.14.5 3.14.5rc1 3.14.4 3.14.3 3.14.2 3.14.1 3.14.0 3.14.0rc2 3.13.18 3.13.17 3.13.16 3.13.15 3.13.14 3.13.13 3.13.12 3.13.11 3.13.10 3.13.9 3.13.8 3.13.7 3.13.6 3.13.5 3.13.4 3.12.16 3.12.15 3.12.14 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.2 3.11.18 3.11.17 3.11.16 3.11.15 3.11.14 3.11.13 3.11.12 3.11.11 3.11.10 3.11.9 and 190 more

What it is

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.

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (Psf)

Published by Psf on 12 November 2026. Last changed 17 November 2026.

Sources

Check one version you run: look CVE-2026-16052 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.