Description
CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
Published: 2026-04-10
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Header Injection via CRLF in Proxy Headers
Action: Apply Patch
AI Analysis

Impact

The vulnerability arises because the CPython HTTP client does not reject CR or LF characters in proxy tunnel headers or host values. This omission allows an attacker to inject arbitrary HTTP headers or to split an HTTP response, leading to response‑splitting attacks. Consequently, the application could unknowingly serve manipulated content, potentially enabling session hijacking, content spoofing, or other attacks linked to header injection weaknesses.

Affected Systems

The issue affects the built‑in HTTP client of CPython. Any CPython installation that uses the default proxy handling code and has not incorporated the patch referenced by the commit 05ed7ce7e… is vulnerable.

Risk and Exploitability

The CVSS score of 5.7 indicates moderate severity, while the EPSS score of less than 1% suggests a low likelihood of exploitation in the wild. The vulnerability is not present in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need to direct a crafted HTTP request containing CR/LF characters through a proxy tunnel to an application using CPython’s HTTP client. Once the header is accepted, the injected line breaks can be used to manipulate the response and potentially achieve further exploitation.

Generated by OpenCVE AI on April 14, 2026 at 01:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CPython to a version that incorporates the patch referenced in commit 05ed7ce7ae9e17c23a04085b2539fe6d6d3cef69.
  • If an upgrade cannot be performed immediately, configure network devices or application settings to reject or sanitize proxy tunnel headers that contain CR or LF characters before they reach the CPython client.
  • Continuously monitor incoming HTTP traffic for unexpected CR or LF sequences in proxy headers and enable logging or alerting for abnormal patterns.

Generated by OpenCVE AI on April 14, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Apr 2026 00:00:00 +0000


Tue, 14 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-93
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N'}

threat_severity

Moderate


Mon, 13 Apr 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Apr 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Python
Python cpython
Vendors & Products Python
Python cpython

Sat, 11 Apr 2026 05:30:00 +0000

Type Values Removed Values Added
References

Fri, 10 Apr 2026 18:15:00 +0000

Type Values Removed Values Added
Description CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.
Title HTTP client proxy tunnel headers not validated for CR/LF
References
Metrics cvssV4_0

{'score': 5.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published:

Updated: 2026-05-12T13:24:35.847Z

Reserved: 2026-01-27T19:10:37.711Z

Link: CVE-2026-1502

cve-icon Vulnrichment

Updated: 2026-04-11T04:39:26.099Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-10T18:16:40.970

Modified: 2026-05-10T21:16:28.247

Link: CVE-2026-1502

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-10T17:54:44Z

Links: CVE-2026-1502 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-14T16:36:21Z

Weaknesses