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 in CPython involves incomplete input validation for control characters in the http.cookies.Morsel class. While the original fix for CVE-2026-0672 rejected control characters, the Morsel.update() method, the |= operator, and unpickling mechanisms were not updated accordingly, allowing control characters to bypass validation. Furthermore, BaseCookie.js_output() did not implement the same output validation as BaseCookie.output(), potentially enabling malformed cookie data to be processed or output without proper sanitization. The affected versions include CPython 0 through 3.15.0a1.
Potential Impact
The vulnerability allows control characters to bypass input validation in cookie handling within CPython, which could lead to unexpected behavior or security issues related to cookie processing. The CVSS 4.0 score of 6 (medium severity) indicates a moderate impact with network attack vector, low attack complexity, and partial required privileges. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. No official patch links are provided in the current data. Users should monitor the vendor advisory for updates and apply any official fixes once available. Until then, cautious handling of cookie data and avoiding untrusted input in affected methods is advisable.
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().
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in CPython involves incomplete input validation for control characters in the http.cookies.Morsel class. While the original fix for CVE-2026-0672 rejected control characters, the Morsel.update() method, the |= operator, and unpickling mechanisms were not updated accordingly, allowing control characters to bypass validation. Furthermore, BaseCookie.js_output() did not implement the same output validation as BaseCookie.output(), potentially enabling malformed cookie data to be processed or output without proper sanitization. The affected versions include CPython 0 through 3.15.0a1.
Potential Impact
The vulnerability allows control characters to bypass input validation in cookie handling within CPython, which could lead to unexpected behavior or security issues related to cookie processing. The CVSS 4.0 score of 6 (medium severity) indicates a moderate impact with network attack vector, low attack complexity, and partial required privileges. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. No official patch links are provided in the current data. Users should monitor the vendor advisory for updates and apply any official fixes once available. Until then, cautious handling of cookie data and avoiding untrusted input in affected methods is advisable.
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: 3/16/2026, 6:20:50 PM
Last enriched: 4/7/2026, 10:41:05 PM
Last updated: 4/30/2026, 5:49:14 PM
Views: 197
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.