Skip to main content
EPSS 0.6%top 55%

CVE-2026-1502: Vulnerability in Python Software Foundation CPython

0
Medium
VulnerabilityCVE-2026-1502cvecve-2026-1502
Published: 04/10/2026 (04/10/2026, 17:54:44 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

Description

CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.

CVSS v4.0

Score 5.7medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

Python Software Foundation

CPython

Affected versions
>=0 <3.10.21>=3.11.0 <3.11.16>=3.12.0 <3.12.14>=3.13.0 <3.13.14>=3.14.0a1 <3.14.5rc1>=3.15.0a1 <3.15.0b1
cpython
pkg:pypi/cpython
Affected versions
=3.14.0=3.15.0
GitHub Actionsmore threats →cve
http.client
pkg:github/http.client
Affected versions
>=0 <3.10.21>=3.11.0 <3.11.16>=3.12.0 <3.12.14>=3.13.0 <3.13.14>=3.14.0a1 <3.14.5rc1>=3.15.0a1 <3.15.0b1

Run 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

AILast updated: 08/13/2026, 13:09:05 UTC

Technical Analysis

This vulnerability in CPython occurs because CR/LF bytes were not rejected in HTTP client proxy tunnel headers or host fields, potentially allowing injection of unexpected HTTP headers or manipulation of HTTP requests. It is categorized under CWE-93, which concerns improper neutralization of CRLF sequences. The affected versions explicitly include 3.11.0, 3.12.0, 3.13.0, 3.14.0a1, and 3.15.0a1. The CVSS 4.0 base score is 5.7, indicating medium severity, with network attack vector, low attack complexity, partial privileges required, and partial user interaction. No vendor advisory or patch is currently available, and no known exploits have been reported.

Potential Impact

The vulnerability could allow an attacker with partial privileges and user interaction to manipulate HTTP headers in proxy tunnel requests by injecting CR/LF sequences. This may lead to HTTP header injection or related issues, but no direct impact such as code execution or privilege escalation is indicated. The medium CVSS score reflects moderate risk.

Mitigation Recommendations

Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Until a fix is released, 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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PSF
Date Reserved
2026-01-27T19:10:37.711Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69d93c061cc7ad14dada4d46

Added to database: 04/10/2026, 18:05:58 UTC

Last enriched: 08/13/2026, 13:09:05 UTC

Last updated: 09/13/2026, 22:01:32 UTC

Views: 318

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses