CVE-2020-26137
CRLF injection in urllib3
Reported by mitre · Published September 29, 2020
urllib3 is fixed in 1dd69c5c5982fae7c87a620d487c2ebf7a6b436b and 1.25.9 (PyPI)
urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of putrequest(). NOTE: this is similar to CVE-2020-26116.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| urllib3 | PyPI | 1dd69c5c5982fae7c87a620d487c2ebf7a6b436b, 1.25.9 |
| py3-urllib3 | Alpine | 1.25.9-r0 |
| urllib3 | python | 1.25.9 |
| python-pip | Ubuntu:16.04:LTS | 8.1.1-2ubuntu0.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | py3-urllib3 | 0 |
| n/a | n/a | * |
| amazon:2 | python-urllib3 | 0 |
| PyPI | urllib3 | 0 |
| python | urllib3 |
Timeline
- Sep 29, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 3, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (8 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-26137
vulnetix vdb fixes CVE-2020-26137
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-26137/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-4570-1 vendor-advisory
- [debian-lts-announce] 20210615 [SECURITY] [DLA 2686-1] python-urllib3 security update mailing-list
- [debian-lts-announce] 20231008 [SECURITY] [DLA 3610-1] python-urllib3 security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2020-26137 advisory
- https://github.com/advisories/GHSA-wqvq-5m8c-6g24 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2020-148.yaml advisory
- https://github.com/urllib3/urllib3 url
- https://usn.ubuntu.com/4570-1 url