# CVE-2026-3644: Incomplete control character validation in http.cookies

- Severity: Medium 6.0 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-03-16T17:37:31.344Z
- Modified: 2026-08-13T01:16:53.120Z
- Also known as: PSF-2026-11, BIT-LIBPYTHON-2026-3644, BIT-PYTHON-2026-3644, BIT-PYTHON-MIN-2026-3644
- Weaknesses: CWE-20, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## 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().

(As written by CVE List.)

## Affected

- 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
- https://github.com/python/cpython: before 57e88c1cf95e1481b94ae57abe1010469d47a6b4; before 62ceb396fcbe69da1ded3702de586f4072b590dd; before d16ecc6c3626f0e2cc8f08c309c83934e8a979dd; before 556aa098e738b127c714866f819b4abe2f7593d8; before dae4b1a21f8df4570e30986affd61bbe4ade4cef; before 3974092b037f9a3b000fb15b48ea61ce3b25d330
- python python: before 3.13.13; from 3.14.0 before 3.14.4; 3.15.0
- libpython (Bitnami): before 3.15.0
- python (Bitnami): before 3.15.0
- python-min (Bitnami): before 3.15.0

## Every score

- PSF: CVSS:4.0 6.0 Medium `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## 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/57e88c1cf95e1481b94ae57abe1010469d47a6b4> (fix, patch, web)
- <https://github.com/python/cpython/issues/145599> (issue-tracking, report, web)
- <https://github.com/python/cpython/pull/145600> (patch, web)
- <https://github.com/python/cpython/commit/62ceb396fcbe69da1ded3702de586f4072b590dd> (fix, patch, web)
- <https://github.com/python/cpython/commit/d16ecc6c3626f0e2cc8f08c309c83934e8a979dd> (fix, patch, web)
- <https://github.com/python/cpython/commit/556aa098e738b127c714866f819b4abe2f7593d8> (fix, patch)
- <https://github.com/python/cpython/commit/dae4b1a21f8df4570e30986affd61bbe4ade4cef> (fix, patch)
- <https://github.com/python/cpython/commit/3974092b037f9a3b000fb15b48ea61ce3b25d330> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-3644> (web)

## Sources

- CVE List: [CVE-2026-3644](https://www.cve.org/CVERecord?id=CVE-2026-3644), CVE Terms of Use, modified 2026-08-13
- Python Software Foundation: [PSF-2026-11](https://osv.dev/vulnerability/PSF-2026-11), CC-BY-4.0, modified 2026-08-05
- NVD: [CVE-2026-3644](https://nvd.nist.gov/vuln/detail/CVE-2026-3644), Public domain, modified 2026-08-13
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-3644](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-3644), Apache-2.0, modified 2026-03-27
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-3644](https://osv.dev/vulnerability/BIT-PYTHON-2026-3644), Apache-2.0, modified 2026-03-27
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-3644](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-3644), Apache-2.0, modified 2026-03-27

---

Page: https://cve.day/CVE-2026-3644 · Whole record: https://cve.day/CVE-2026-3644.json · Rebuilt by cve.day 2026-11-25T22:59:16.022Z
