CVE-2024-47081psf requests
Medium 5.3 No auth needed
Follow: this CVE · psf · psf requests We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Jun 9, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-522
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for requests.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | requests |
< 2.32.4 |
2.32.4 |
pip install "requests>=2.32.4" |
| PyPI | requests |
< 2.32.4 |
2.32.4 |
pip install "requests>=2.32.4" |
Per OSV / GitHub Advisories (GHSA-9hjg-9r4m-mvj7, PYSEC-2026-1872). Check the version in your lockfile before upgrading.
Affected products
- psf · requests
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- oci-cli-3.76.2-1.1 on GA media · SUSE · openSUSE-SU-2026:10539-1 · Apr 13, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.