CVE-2026-1502 HTTP client proxy tunnel headers not validated for CR/LF

Medium 5.7 Published Updated

Attackers can inject CR/LF characters into HTTP proxy tunnel headers, potentially causing header injection or request smuggling.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-1502?

CVE-2026-1502 is a medium-severity vulnerability in CPython, published on 10 Apr 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-93

Which versions are affected by CVE-2026-1502?

3 open source packages ship an affected version, including libpython, python and python-min.

PackageAffectedFixed in
libpython BitnamiAll versions3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5
python BitnamiAll versions3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5
python-min BitnamiAll versions3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5

How do I fix CVE-2026-1502?

Upgrade libpython to a fixed version for your release line: 3.10.21, 3.11.16, 3.12.14 or 3.13.14.

Is CVE-2026-1502 being exploited?

There is no known exploitation of CVE-2026-1502 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-1502, AZL-82899, BELL-CVE-2026-1502, BIT-libpython-2026-1502, BIT-python-2026-1502, BIT-python-min-2026-1502 and 14 more.

Is CVE-2026-1502 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free