CVE-2026-3644
JSON

6.0medium

Incomplete control character validation in http.cookies

Severity
6.0medium CVSS:4.0 by PSF
Exploit likelihood
0.54% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PSF
Also known as
PSF-2026-11BIT-LIBPYTHON-2026-3644BIT-PYTHON-2026-3644BIT-PYTHON-MIN-2026-3644

Description

The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().

Affected

Product or packageVersionsReported by
Python Software Foundation CPythonbefore 3.10.21, from 3.11.0 before 3.11.16, from 3.12.0 before 3.12.14, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4, from 3.15.0a1 before 3.15.0a8CVE List
https://github.com/python/cpythonbefore 57e88c1cf95e1481b94ae57abe1010469d47a6b4, before 62ceb396fcbe69da1ded3702de586f4072b590dd, before d16ecc6c3626f0e2cc8f08c309c83934e8a979dd, before 556aa098e738b127c714866f819b4abe2f7593d8, before dae4b1a21f8df4570e30986affd61bbe4ade4cef, before 3974092b037f9a3b000fb15b48ea61ce3b25d330Python Software Foundation
python pythonbefore 3.13.13, from 3.14.0 before 3.14.4, 3.15.0NVD
libpython (Bitnami)before 3.15.0Bitnami Vulnerability Database
python (Bitnami)before 3.15.0Bitnami Vulnerability Database
python-min (Bitnami)before 3.15.0Bitnami Vulnerability Database

All scores

PSF6.0medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-20CWE-116

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().

NVD (es)

La solución para CVE-2026-0672, que rechazaba caracteres de control en http.cookies.Morsel, era incompleta. Los métodos Morsel.update(), el operador |= y las rutas de deserialización no fueron parcheados, permitiendo que los caracteres de control eludieran la validación de entrada. Además, BaseCookie.js_output() carecía de la validación de salida aplicada a BaseCookie.output().

References

https://mail.python.org/archives/list/security-announce@python.org/thread/H6CADMBCDRFGWCMOXWUIHFJNV43GABJ7/advisory, third-party-advisory, vendor-advisory, web
https://github.com/python/cpython/commit/57e88c1cf95e1481b94ae57abe1010469d47a6b4fix, patch, web
https://github.com/python/cpython/issues/145599issue-tracking, report, web
https://github.com/python/cpython/pull/145600patch, web
https://github.com/python/cpython/commit/62ceb396fcbe69da1ded3702de586f4072b590ddfix, patch, web
https://github.com/python/cpython/commit/d16ecc6c3626f0e2cc8f08c309c83934e8a979ddfix, patch, web
https://github.com/python/cpython/commit/556aa098e738b127c714866f819b4abe2f7593d8fix, patch
https://github.com/python/cpython/commit/dae4b1a21f8df4570e30986affd61bbe4ade4ceffix, patch
https://github.com/python/cpython/commit/3974092b037f9a3b000fb15b48ea61ce3b25d330fix, patch
https://nvd.nist.gov/vuln/detail/CVE-2026-3644web

Sources

SourceRecordLicence
CVE ListCVE-2026-3644 changed 2026-08-13CVE Terms of Use
Python Software FoundationPSF-2026-11 changed 2026-08-05CC-BY-4.0
NVDCVE-2026-3644 changed 2026-08-13Public domain
Bitnami Vulnerability DatabaseBIT-LIBPYTHON-2026-3644 changed 2026-03-27Apache-2.0
Bitnami Vulnerability DatabaseBIT-PYTHON-2026-3644 changed 2026-03-27Apache-2.0
Bitnami Vulnerability DatabaseBIT-PYTHON-MIN-2026-3644 changed 2026-03-27Apache-2.0