# CVE-2020-26116: http.client: HTTP Header Injection in the HTTP method

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.36%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-27T00:00:00.000Z
- Modified: 2026-10-14T10:17:33.537Z
- Also known as: PSF-2020-5, BIT-LIBPYTHON-2020-26116, BIT-PYTHON-2020-26116, BIT-PYTHON-MIN-2020-26116
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- https://github.com/python/cpython: before 27b811057ff5e93b68798e278c88358123efdc71; before 524b8de630036a29ca340bc2ae6fd6dc7dda8f40; before 668d321476d974c4f51476b33aaca870272523bf; before 8ca8a2e8fb068863c1138f07e3098478ef8be12e; before ca75fec1ed358f7324272608ca952b2d8226d11a; before f02de961b9f19a5db0ead56305fe0057a78787ae
- python 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
- fedoraproject fedora: 31; 32; 33
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04
- netapp solidfire: no versions given
- netapp hci_storage_node: no versions given
- debian debian_linux: 9.0
- oracle zfs_storage_appliance_kit: 8.8
- opensuse leap: 15.1
- libpython (Bitnami): 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
- python (Bitnami): 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
- python-min (Bitnami): 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

## Every score

- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugs.python.org/issue39603> (exploit, advisory, issue-tracking, patch, report, vendor-advisory)
- <https://python-security.readthedocs.io/vuln/http-header-injection-method.html> (advisory, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BW4GCLQISJCOEGQNIMVUZDQMIY6RR6CC/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWMAVY4T4257AZHTF2RZJKNJNSJFY24O/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OXI72HIHMXCQFWTULUXDG7VDA2BCYL4Y/> (vendor-advisory, web)
- <https://usn.ubuntu.com/4581-1/> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HDQ2THWU4GPV4Y5H5WW5PFMSWXL2CRFD/> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00027.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QOX7DGMMWWL6POCRYGAUCISOLR2IG3XV/> (vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/11/msg00032.html> (advisory, mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202101-18> (advisory, third-party-advisory, vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20201023-0001/> (advisory, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html> (mailing-list, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26116> (web)

## Sources

- CVE List: [CVE-2020-26116](https://www.cve.org/CVERecord?id=CVE-2020-26116), CVE Terms of Use, modified 2026-10-14
- Python Software Foundation: [PSF-2020-5](https://osv.dev/vulnerability/PSF-2020-5), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2020-26116](https://nvd.nist.gov/vuln/detail/CVE-2020-26116), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2020-26116](https://osv.dev/vulnerability/BIT-LIBPYTHON-2020-26116), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2020-26116](https://osv.dev/vulnerability/BIT-PYTHON-2020-26116), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2020-26116](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2020-26116), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-26116 · Whole record: https://cve.day/CVE-2020-26116.json · Rebuilt by cve.day 2026-11-25T22:57:54.962Z
