CVE-2026-0672

Enriched by CISA
 

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.
https://nvd.nist.gov/vuln/detail/CVE-2026-0672

Categories

CWE-93 : Improper Neutralization of CRLF Sequences ('CRLF Injection')
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs. Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) Avoid using CRLF as a special sequence. Appropriately filter or quote CRLF sequences in user-controlled input. CRLF injection enables spam proxy (add mail headers) using email address or name. CRLF injection in API function arguments modify headers for outgoing requests. Spoofed entries in web server log file via carriage returns Chain: inject fake log entries with fake timestamps using CRLF injection Chain: Application accepts CRLF in an object ID, allowing HTTP response splitting. Chain: HTTP response splitting via CRLF in parameter related to URL.

References


 

AFFECTED (from MITRE)


Vendor Product Versions
Python Software Foundation CPython
  • < 3.10.20 [affected]
  • 3.11.0 < 3.11.15 [affected]
  • 3.12.0 < 3.12.13 [affected]
  • 3.13.0 < 3.13.12 [affected]
  • 3.14.0 < 3.14.3 [affected]
  • 3.15.0a1 < 3.15.0a6 [affected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
15 Command Delimiters
High
81 Web Server Logs Tampering
High