CVE-2026-3644
7.5 HIGHThe fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete
Published: 2026-03-16 · Last updated: 2026-06-04
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CWE
- CWE-116, CWE-20
Affected products
| Vendor | Product |
|---|---|
| python | python |
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().
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-3644
- [Patch]https://github.com/python/cpython/commit/57e88c1cf95e1481b94ae57abe1010469d47a6b4
- [Patch]https://github.com/python/cpython/commit/62ceb396fcbe69da1ded3702de586f4072b590dd
- [Patch]https://github.com/python/cpython/commit/d16ecc6c3626f0e2cc8f08c309c83934e8a979dd
- [Other]https://github.com/python/cpython/issues/145599
- [Patch]https://github.com/python/cpython/pull/145600
- [Other]https://mail.python.org/archives/list/security-announce@python.org/thread/H6CADMBCDRFGWCMOXWUIHFJNV43GABJ7/
Related CVEs
Same vendor
- CVE-2026-7210 — `xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML d... (9.8 CRITICAL)
- CVE-2026-3087 — If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be... (7.5 HIGH)
- CVE-2026-6019 — http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context (6.1 MEDIUM)
- CVE-2026-4224 — When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content mo... (7.5 HIGH)
- CVE-2025-13462 — The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member suc... (9.8 CRITICAL)
Same CWE
- CVE-2026-49218 — ImageMagick is free and open-source software used for editing and manipulating digital images (7.5 HIGH)
- CVE-2026-42558 — Xibo is an open source digital signage platform with a web content management system and Windows display player software (7.6 HIGH)
- CVE-2024-21944 — Improper input validation for DIMM serial presence detect (SPD) metadata could allow an attacker with physical access, ring0 access on a ... (5.3 MEDIUM)
- CVE-2026-48110 — Russh is a Rust SSH client & server library (7.5 HIGH)
- CVE-2026-48108 — Russh is a Rust SSH client & server library (5.3 MEDIUM)