CVE-2024-47081: Lexicon · Requests vulnerable to .netrc credentials leak via malicious URLs
Affects lexiconSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.21.1_1 when convenient.
Data as of 30 Oct 2026, 07:45 UTC
- Patch
- Available – fixed in 3.21.1_1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade lexicon to 3.21.1_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewlexiconpkg:brew/lexiconOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Lexicon to version 3.21.1_1 or later where the vulnerability is fixed. For users unable to upgrade immediately, disable .netrc credential usage in Requests by setting trust_env=False on the Requests Session to prevent credential leakage.
Description
A URL parsing vulnerability in the Requests library prior to version 2.32.4 can cause leakage of .netrc credentials to third parties when processing certain malicious URLs. This issue affects Lexicon versions >=3.11.2 and <3.21.1_1. The vulnerability has a medium severity with a CVSS score of 5.3. A fix is available in version 3.21.1_1. As a workaround for older versions, disabling .netrc usage by setting trust_env=False in Requests sessions can mitigate the risk.
References
- github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-47081 (opens in a new tab)
- github.com/psf/requests/pull/6965 (opens in a new tab)
- github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef (opens in a new tab)
- github.com/advisories/GHSA-9hjg-9r4m-mvj7 (opens in a new tab)
- github.com/psf/requests (opens in a new tab)
- github.com/psf/requests/releases/tag/v2.32.4 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml (opens in a new tab)
- pypi.org/project/requests (opens in a new tab)
- requests.readthedocs.io/en/latest/api/ (opens in a new tab)
- seclists.org/fulldisclosure/2025/Jun/2 (opens in a new tab)
- openwall.com/lists/oss-security/2025/06/03/11 (opens in a new tab)
- openwall.com/lists/oss-security/2025/06/03/9 (opens in a new tab)
- openwall.com/lists/oss-security/2025/06/04/1 (opens in a new tab)
- openwall.com/lists/oss-security/2025/06/04/6 (opens in a new tab)