CVE-2026-3644: Vulnerability in Python Software Foundation CPython
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().
AI Analysis
Technical Summary
This vulnerability arises from an incomplete fix for CVE-2026-0672 in CPython's http.cookies.Morsel class. While the original fix rejected control characters, the Morsel.update() method, the |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, the BaseCookie.js_output() method lacked the output validation applied to BaseCookie.output(), further contributing to the issue. These flaws could allow malicious input to circumvent intended restrictions on control characters in cookie handling.
Potential Impact
The vulnerability allows control characters to bypass input validation in cookie handling within CPython. This could lead to unexpected behavior or security issues related to cookie processing, such as injection or manipulation of cookie data. The CVSS score of 6 indicates a medium severity impact with network attack vector, low complexity, and partial impact on confidentiality and high impact on integrity.
Mitigation Recommendations
No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until a fix is available, users should be cautious when processing untrusted cookie data and consider applying additional input validation or sandboxing measures as a temporary mitigation.
CVE-2026-3644: Vulnerability in Python Software Foundation CPython
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().
CVSS v4.0
Score 6.0medium
Affected software
Python Software Foundation
CPython
pkg:github/CPythonRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from an incomplete fix for CVE-2026-0672 in CPython's http.cookies.Morsel class. While the original fix rejected control characters, the Morsel.update() method, the |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, the BaseCookie.js_output() method lacked the output validation applied to BaseCookie.output(), further contributing to the issue. These flaws could allow malicious input to circumvent intended restrictions on control characters in cookie handling.
Potential Impact
The vulnerability allows control characters to bypass input validation in cookie handling within CPython. This could lead to unexpected behavior or security issues related to cookie processing, such as injection or manipulation of cookie data. The CVSS score of 6 indicates a medium severity impact with network attack vector, low complexity, and partial impact on confidentiality and high impact on integrity.
Mitigation Recommendations
No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until a fix is available, users should be cautious when processing untrusted cookie data and consider applying additional input validation or sandboxing measures as a temporary mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PSF
- Date Reserved
- 2026-03-06T16:13:09.289Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69b84a02771bdb174918694f
Added to database: 03/16/2026, 18:20:50 UTC
Last enriched: 08/13/2026, 13:09:32 UTC
Last updated: 09/12/2026, 22:01:33 UTC
Views: 341
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.