CVE-2026-1502: Python Software Foundation CPython · CRLF Injection
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 5.7 Medium · fixed in 3.15.0b1 : update Python Software Foundation CPython when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.15.0b1, 3.14.5rc1, 3.13.14 +3
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should be cautious when handling HTTP proxy tunnel headers in affected CPython versions and consider applying any recommended workarounds from the vendor once available.
Description
CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
References
- github.com/python/cpython/pull/146212 (opens in a new tab)
- github.com/python/cpython/issues/146211 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/2IVPAEQWUJBCTQZEJEVTYCIKSMQPGRZ3/ (opens in a new tab)
- github.com/python/cpython/commit/05ed7ce7ae9e17c23a04085b2539fe6d6d3cef69 (opens in a new tab)
- github.com/python/cpython/commit/b1cf9016335cb637c5a425032e8274a224f4b2ed (opens in a new tab)
- github.com/python/cpython/commit/9e071c9b28c17f347f81b388a003d4eeb3c7a8dd (opens in a new tab)
- github.com/python/cpython/commit/c00c386faa579ad71196d33408644478488e43ec (opens in a new tab)
- github.com/python/cpython/commit/56b7100b04e44ea27989242b176beb8f016b2c53 (opens in a new tab)
- github.com/python/cpython/commit/58703ec1bdd1eb075e8b01a0c427683ce594dd3e (opens in a new tab)
- openwall.com/lists/oss-security/2026/04/11/4 (opens in a new tab)