CVE-2025-15282
Medium
Description
User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.
SeverityMedium
CVSS6.0
Exploit probability—
ProductCPython
PublishedJan 20, 2026
First seenJan 20, 2026
Weakness typeCWE-93CWE-93
How to fix
Update
- Python Software Foundation CPython3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3, 3.15.0a6 or later
Patches
- github.com/python/cpython/pull/143926
- github.com/python/cpython/commit/f25509e78e8be6ea73c811ac2b8c928c28841b9f
- github.com/python/cpython/commit/05356b1cc153108aaf27f3b72ce438af4aa218c0
- github.com/python/cpython/commit/34d76b00dabde81a793bd06dd8ecb057838c4b38
- github.com/python/cpython/commit/3f396ca9d7bbe2a50ea6b8c9b27c0082884d9f80
- github.com/python/cpython/commit/4ed11d3cd288e6b90196a15c5a825a45d318fe47
- github.com/python/cpython/commit/a35ca3be5842505dab74dc0b90b89cde0405017a
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | v < 3.10.20, 3.11.0 ≤ v < 3.11.15, 3.12.0 ≤ v < 3.12.13, 3.13.0 ≤ v < 3.13.12, 3.14.0 ≤ v < 3.14.3, 3.15.0a1 ≤ v < 3.15.0a6 | 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3, 3.15.0a6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.