Home / psf / requests / CVE-2024-47081
CVE-2024-47081: is it exploited, and which versions of psf requests are affected and fixed?
CVE-2024-47081 is a credentials insufficiently protected vulnerability in psf requests. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: requests before 2.32.4 (GitHub advisory GHSA-9hjg-9r4m-mvj7). Fixed in 2.32.4 (GitHub advisory GHSA-9hjg-9r4m-mvj7). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2024-47081?
Requests vulnerable to .netrc credentials leak via malicious URLs
Requests is a HTTP library. Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs. Users should upgrade to version 2.32.4 to receive a fix. For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on one's Requests Session.
From the CVE record by GitHub_M, last updated June 9, 2025, 18:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| psf | requests | < 2.32.4 |
As the CVE record by GitHub_M states it, last updated June 9, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | requests | < 2.32.4 | 2.32.4 | GHSA-9hjg-9r4m-mvj7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 19, 2026. Summary: Requests vulnerable to .netrc credentials leak via malicious URLs.
How severe is CVE-2024-47081?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-47081 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 9, 2025)
- EPSS
- 1.02% probability of exploitation activity in the next 30 days, percentile 64.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-522 Insufficiently Protected Credentials
Where are the vendor advisories and references?
- https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7 x_refsource_CONFIRM
- https://github.com/psf/requests/pull/6965 x_refsource_MISC
- https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef x_refsource_MISC
- https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env x_refsource_MISC
- https://seclists.org/fulldisclosure/2025/Jun/2 x_refsource_MISC
- http://seclists.org/fulldisclosure/2025/Jun/2
- http://www.openwall.com/lists/oss-security/2025/06/03/9
- http://www.openwall.com/lists/oss-security/2025/06/03/11
- http://www.openwall.com/lists/oss-security/2025/06/04/1
- http://www.openwall.com/lists/oss-security/2025/06/04/6
When was it published, and where is the official record?
- Reserved
- September 17, 2024
- Published
- June 9, 2025, 17:57 UTC
- CVE record updated
- June 9, 2025, 18:40 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:56 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect requests?
- Mar 25, 2026CVE-2026-25645 psf requests: insecure temporary file
- May 20, 2024CVE-2024-35195 psf requests: always-incorrect control flow
- May 26, 2023CVE-2023-32681 psf requests: information disclosure
Questions about CVE-2024-47081
Is CVE-2024-47081 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.02% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of psf requests are affected by CVE-2024-47081?
requests before 2.32.4, per the GitHub advisory GHSA-9hjg-9r4m-mvj7. The tables above give every range the sources list.
Which version fixes CVE-2024-47081?
2.32.4, per the GitHub advisory GHSA-9hjg-9r4m-mvj7. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-47081?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-47081?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.