What’s Vulnerable › Vulnerabilities
CVE-2020-26116
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-09-27 · updated 2026-10-14
- Weakness: CWE-74
Description
http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 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 HTTPConnection.request.
Affected products
- Canonical Ubuntu Linux: 12.04, 14.04, 16.04, 18.04
- Debian Linux: 9.0
- Fedoraproject Fedora: 31, 32, 33
- NetApp Hci Storage Node: all versions
- NetApp Solidfire: all versions
- openSUSE Leap: 15.1
- Oracle Corporation Oracle ZFS Storage Appliance Kit: 8.8
- Python: from 3.0.0 before 3.5.10; from 3.6.0 before 3.6.12; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.5 — fixed in 3.5.10, 3.6.12, 3.7.9, 3.8.5
How to fix
Upgrade to a fixed version: Python 3.5.10, 3.6.12, 3.7.9, 3.8.5. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00027.html
- https://bugs.python.org/issue39603
- https://lists.debian.org/debian-lts-announce/2020/11/msg00032.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BW4GCLQISJCOEGQNIMVUZDQMIY6RR6CC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HDQ2THWU4GPV4Y5H5WW5PFMSWXL2CRFD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWMAVY4T4257AZHTF2RZJKNJNSJFY24O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OXI72HIHMXCQFWTULUXDG7VDA2BCYL4Y/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QOX7DGMMWWL6POCRYGAUCISOLR2IG3XV/
- https://python-security.readthedocs.io/vuln/http-header-injection-method.html
- https://security.gentoo.org/glsa/202101-18
- https://security.netapp.com/advisory/ntap-20201023-0001/
Get alerted when CVE-2020-26116 or the next vulnerability affects your stack