CVE-2026-0672 Details
Description
When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.
A vulnerability in the http.cookies.Morsel class allows user-controlled cookie values and parameters to inject HTTP headers into messages. This issue affects several versions of Python. The vulnerability arises from the absence of proper validation for control characters in cookie names, values, and parameters, which can be exploited to manipulate HTTP headers. The recently released patch addresses this issue by rejecting all control characters in these fields.
Users can update to the latest version of Python, where this vulnerability has been patched. Instructions for updating Python can be found in the Python documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 20, 2026CISA-ADP
Assessed Jan 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Python http.cookies.Morsel | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 26, 2026 | CVE Modified | [email protected] |
| Jan 23, 2026 | CVE Modified | [email protected] |
| Jan 20, 2026 | CVE Modified | [email protected] |
| Jan 20, 2026 | New CVE Received | [email protected] |
Volerion