{"id":"CVE-2020-26137","published":"2020-09-29T00:00:00Z","modified":"2024-08-04T15:49:07Z","title":"urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02269,"percentile":0.83473,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugs.python.org/issue39603","tags":[]},{"url":"https://github.com/urllib3/urllib3/pull/1800","tags":[]},{"url":"https://github.com/urllib3/urllib3/commit/1dd69c5c5982fae7c87a620d487c2ebf7a6b436b","tags":[]},{"url":"https://usn.ubuntu.com/4570-1/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00015.html","tags":["mailing-list"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html","tags":["mailing-list"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":16.69}]},"affected":[{"ecosystem":"PyPI","package":"urllib3","vulnerableRanges":["<1.25.9"],"patched":["1.25.9"],"from":["GHSA-wqvq-5m8c-6g24","PYSEC-2020-148"],"provenance":"source"}],"summary":{"text":"The flaw is a CRLF injection weakness in the urllib3 HTTP client library, present in versions before 1.25.9, where unsanitised input reaches the request method. An attacker who controls the HTTP request method can insert CR and LF control characters into the first argument of putrequest() and thereby inject arbitrary headers or request content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:47Z"},"euvd":{"id":"EUVD-2020-0230","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-urllib3-cve-2018-20060","parents":[{"from":"CVE-2020-26116","to":"CVE-2020-26137","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"NOTE: this is similar to CVE-2020-26116.","from":"CVE.org","in":"CVE-2020-26137"}]}],"children":[{"from":"CVE-2020-26137","to":"CVE-2021-28363","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/urllib3/connection.py"],"commits":["https://github.com/urllib3/urllib3/commit/1dd69c5c5982fae7c87a620d487c2ebf7a6b436b","https://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0"],"basis":"rarely changed file"}]},{"from":"CVE-2020-26137","to":"CVE-2026-97687","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/urllib3/connection.py"],"commits":["https://github.com/urllib3/urllib3/commit/1dd69c5c5982fae7c87a620d487c2ebf7a6b436b","https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465","https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"],"basis":"shared function","functions":["connect"]}]}],"packageHistory":[{"cve":"CVE-2019-11324","published":"2019-04-18","fixed":"1.24.2","kev":false},{"cve":"CVE-2019-11236","published":"2019-04-15","fixed":"1.24.3","kev":false},{"cve":"CVE-2020-7212","published":"2020-03-06","fixed":"1.25.8","kev":false,"link":{"from":"CVE-2020-7212","to":"CVE-2020-26137","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:urllib3","fromFixed":"1.25.8","toFixed":"1.25.9","daysApart":207}]}},{"cve":"CVE-2020-26137","published":"2020-09-29","fixed":"1.25.9","kev":false},{"cve":"CVE-2021-28363","published":"2021-03-15","fixed":"1.26.4","kev":false},{"cve":"CVE-2021-33503","published":"2021-06-29","fixed":"1.26.5","kev":false},{"cve":"CVE-2023-43804","published":"2023-10-04","fixed":"2.0.6","kev":false}],"package":"PyPI:urllib3"}}