The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http
The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.
- BDU:2021-01443
- GHSA-x84v-xcm2-53pg
- ALBA-2019:3693
- ALSA-2020:1605
- openSUSE-SU-2019:1754-1
- PYSEC-2018-28
- RHSA-2019:2035
- RHSA-2020:0850
- RHSA-2020:0851
- RHSA-2020:1605
- RHSA-2020:1916
- RHSA-2020:2068
- RHSA-2020:2081
- RLSA-2020:1605
- SUSE-SU-2019:1487-1
- SUSE-SU-2019:2027-1
- SUSE-SU-2019:2047-1
- SUSE-SU-2020:0555-1
- SUSE-SU-2020:1792-1
- SUSE-SU-2022:1448-1
- Published
- Oct 9, 2018
- Updated
- Jun 16, 2026
- EPSS
- 7.4% · 94th percentile
- CWE
- CWE-522
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| python | requests | cpe:2.3:a:python:requests |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.10
- opensuse leap15.1
- python requestsbefore 2.20.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux server7.0
- redhat enterprise linux workstation7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | python-psycopg2-doc | before 2.7.5-7.module_el8.6.0+2781+fed64c13 | 2.7.5-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-attrs | before 17.4.0-10.module_el8.6.0+2781+fed64c13 | 17.4.0-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-chardet | before 3.0.4-10.module_el8.6.0+2781+fed64c13 | 3.0.4-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-coverage | before 4.5.1-4.module_el8.6.0+2781+fed64c13 | 4.5.1-4.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-Cython | before 0.28.1-7.module_el8.6.0+2781+fed64c13 | 0.28.1-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-dns | before 1.15.0-10.module_el8.6.0+2781+fed64c13 | 1.15.0-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-docs | before 2.7.16-2.module_el8.6.0+2781+fed64c13 | 2.7.16-2.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-docs-info | before 2.7.16-2.module_el8.6.0+2781+fed64c13 | 2.7.16-2.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-docutils | before 0.14-12.module_el8.6.0+2781+fed64c13 | 0.14-12.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-funcsigs | before 1.0.2-13.module_el8.6.0+2781+fed64c13 | 1.0.2-13.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-idna | before 2.5-7.module_el8.6.0+2781+fed64c13 | 2.5-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-ipaddress | before 1.0.18-6.module_el8.6.0+2781+fed64c13 | 1.0.18-6.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-markupsafe | before 0.23-19.module_el8.6.0+2781+fed64c13 | 0.23-19.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-mock | before 2.0.0-13.module_el8.6.0+2781+fed64c13 | 2.0.0-13.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-pluggy | before 0.6.0-8.module_el8.6.0+2781+fed64c13 | 0.6.0-8.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-psycopg2 | before 2.7.5-7.module_el8.6.0+2781+fed64c13 | 2.7.5-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-psycopg2-debug | before 2.7.5-7.module_el8.6.0+2781+fed64c13 | 2.7.5-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-psycopg2-tests | before 2.7.5-7.module_el8.6.0+2781+fed64c13 | 2.7.5-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-py | before 1.5.3-6.module_el8.6.0+2781+fed64c13 | 1.5.3-6.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-PyMySQL | before 0.8.0-10.module_el8.6.0+2781+fed64c13 | 0.8.0-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-pysocks | before 1.6.8-6.module_el8.6.0+2781+fed64c13 | 1.6.8-6.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-pytest | before 3.4.2-13.module_el8.6.0+2781+fed64c13 | 3.4.2-13.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-pytest-mock | before 1.9.0-4.module_el8.6.0+2781+fed64c13 | 1.9.0-4.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-pytz | before 2017.2-12.module_el8.6.0+2781+fed64c13 | 2017.2-12.module_el8.6.0+2781+fed64c13 |
+96
Same product
python: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-32681Unintended leak of Proxy-Authorization header in requests25Monitor
- CVE-2026-25645Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function22Monitor
- CVE-2014-1830Requests (aka python-requests) before 2.3.0 allows remote servers to obtain sensitive information by reading the Proxy-Authorization header 21Monitor
- CVE-2014-1829Requests (aka python-requests) before 2.3.0 allows remote servers to obtain a netrc password by reading the Authorization header in a redire21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:python-psycopg2-doc | 2.7.5-7.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-coverage | 4.5.1-4.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-dns | 1.15.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-docs | 2.7.16-2.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-docs-info | 2.7.16-2.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-docutils | 0.14-12.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-funcsigs | 1.0.2-13.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3-requests | 2.20.0-2.1.el8_1 · AlmaLinux:8 | Package registry (OSV) |
| debian:requests | 2.20.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:python-requests | 2.20.1-lp151.2.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:python-requests-test | 2.20.1-lp151.2.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| PyPI:requests | 2.20.0 | Package registry (OSV) |
| red hat:babel | 0:2.5.1-9.module+el8.1.0+3111+de3f2d8e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:Cython | 0:0.28.1-7.module+el8.1.0+3111+de3f2d8e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:Cython-debugsource | 0:0.28.1-7.module+el8.1.0+3111+de3f2d8e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:numpy | 1:1.14.2-13.module+el8.1.0+3323+7ac3e00f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:numpy-debugsource | 1:1.14.2-13.module+el8.1.0+3323+7ac3e00f · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:pytest | 0:3.4.2-13.module+el8.1.0+3111+de3f2d8e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:python-pip | 0:9.0.3-7.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-requests | 0:2.6.0-5.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-virtualenv | 0:15.1.0-4.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python3-pip | 0:9.0.3-7.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:PyYAML | 0:3.12-16.module+el8.1.0+3111+de3f2d8e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:PyYAML-debugsource | 0:3.12-16.module+el8.1.0+3111+de3f2d8e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:babel | 0:2.5.1-9.module+el8.4.0+403+9ae17a31 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:Cython | 0:0.28.1-7.module+el8.5.0+706+735ec4b3 · Rocky Linux:8 | Package registry (OSV) |
+22
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2026-05-11 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+2770 d
- TodaySep 30, 2026+2913 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-522 · Insufficiently Protected CredentialsCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Session SidejackingCAPEC-102likelihood: High · High
- Signature Spoofing by Key TheftCAPEC-474likelihood: Medium · High
- Password Recovery ExploitationCAPEC-50likelihood: Medium · High
- KerberoastingCAPEC-509High
- Modify Existing ServiceCAPEC-551
- Remote Services with Stolen CredentialsCAPEC-555Very High
- Use of Known Domain CredentialsCAPEC-560likelihood: High · High
- Windows Admin Shares with Stolen CredentialsCAPEC-561
ATT&CK techniques
- Remote ServicesT1021
- Remote Services:SMB/Windows Admin SharesT1021.002
- Valid AccountsT1078
- Brute Force:Credential StuffingT1110.004
- Email Collection:Remote Email CollectionT1114.002
- External Remote ServicesT1133
- Create or Modify System ProcessT1543
- Use Alternate Authentication Material:Pass The HashT1550.002
- Use Alternate Authentication Material:Pass The TicketT1550.003
- Unsecured Credentials: Private KeysT1552.004
- Steal or Forge Kerberos TicketsT1558
- Steal or Forge Kerberos Tickets:KerberoastingT1558.003
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- docs.python-requests.org/en/master/community/updates/#release-and-version-history
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00024.html
- access.redhat.com/errata/RHSA-2019:2035
- github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
- github.com/requests/requests/pull/4718
- usn.ubuntu.com/3790-1/
- usn.ubuntu.com/3790-2/
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.