CVE-2026-3644
Incomplete control character validation in http.cookies
Mitigation
- Upgrade CPython to 3.15.0a8 or later.
Who should check
- Anyone running Python Software Foundation CPython < 3.10.21; >= 3.11.0, < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8
Vulnerability facts
- Affected
- Python Software Foundation CPython < 3.10.21; >= 3.11.0, < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8
- Fixed in
- Python Software Foundation CPython 3.10.21, Python Software Foundation CPython 3.11.16, Python Software Foundation CPython 3.12.14, Python Software Foundation CPython 3.13.13, Python Software Foundation CPython 3.14.4, Python Software Foundation CPython 3.15.0a8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.0 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.76% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-20, CWE-116
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Python Software Foundation CPython | < 3.10.21; >= 3.11.0, < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-3644. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-3644.md Affected: Python Software Foundation CPython < 3.10.21; >= 3.11.0, < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8 Fixed in: Python Software Foundation CPython 3.10.21, Python Software Foundation CPython 3.11.16, Python Software Foundation CPython 3.12.14, Python Software Foundation CPython 3.13.13, Python Software Foundation CPython 3.14.4, Python Software Foundation CPython 3.15.0a8 Steps: 1. Search this machine and project for Python Software Foundation CPython: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/python/cpython/commit/57e88c1cf95e1481b94ae57abe1010469d47a6b4
- https://github.com/python/cpython/pull/145600
- https://github.com/python/cpython/commit/62ceb396fcbe69da1ded3702de586f4072b590dd
- https://github.com/python/cpython/commit/d16ecc6c3626f0e2cc8f08c309c83934e8a979dd
- https://github.com/python/cpython/commit/556aa098e738b127c714866f819b4abe2f7593d8
- https://github.com/python/cpython/commit/dae4b1a21f8df4570e30986affd61bbe4ade4cef
- https://github.com/python/cpython/commit/3974092b037f9a3b000fb15b48ea61ce3b25d330
FAQ
Is CVE-2026-3644 being exploited?
There is no confirmed exploitation: CVE-2026-3644 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-3644?
Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-3644?
Python Software Foundation CPython < 3.10.21; >= 3.11.0, < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a8.
Is there a fix for CVE-2026-3644?
Yes. Fixed in Python Software Foundation CPython 3.10.21, Python Software Foundation CPython 3.11.16, Python Software Foundation CPython 3.12.14, Python Software Foundation CPython 3.13.13, Python Software Foundation CPython 3.14.4, Python Software Foundation CPython 3.15.0a8. Upgrade CPython to 3.15.0a8 or later.
How do I check if I'm affected by CVE-2026-3644?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.