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 package | Versions | Reported by |
|---|---|---|
| Python Software Foundation CPython | before 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.0a8 | CVE List |
| https://github.com/python/cpython | before 57e88c1cf95e1481b94ae57abe1010469d47a6b4, before 62ceb396fcbe69da1ded3702de586f4072b590dd, before d16ecc6c3626f0e2cc8f08c309c83934e8a979dd, before 556aa098e738b127c714866f819b4abe2f7593d8, before dae4b1a21f8df4570e30986affd61bbe4ade4cef, before 3974092b037f9a3b000fb15b48ea61ce3b25d330 | Python Software Foundation |
| python python | before 3.13.13, from 3.14.0 before 3.14.4, 3.15.0 | NVD |
| libpython (Bitnami) | before 3.15.0 | Bitnami Vulnerability Database |
| python (Bitnami) | before 3.15.0 | Bitnami Vulnerability Database |
| python-min (Bitnami) | before 3.15.0 | Bitnami Vulnerability Database |
All scores
| PSF | 6.0medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-3644 changed 2026-08-13 | CVE Terms of Use |
| Python Software Foundation | PSF-2026-11 changed 2026-08-05 | CC-BY-4.0 |
| NVD | CVE-2026-3644 changed 2026-08-13 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPYTHON-2026-3644 changed 2026-03-27 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-2026-3644 changed 2026-03-27 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-MIN-2026-3644 changed 2026-03-27 | Apache-2.0 |