Requests vulnerable to .netrc credentials leak via malicious URLs
RSS Feed
MODERATE
GHSA-9hjg-9r4m-mvj7
CVE-2024-47081
Description:
Impact
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.
Workarounds
For older versions of Requests, use of the .netrc file can be disabled with trust_env=False on your Requests Session (docs).
References
https://github.com/psf/requests/pull/6965
https://seclists.org/fulldisclosure/2025/Jun/2
Affected Packages
| Ecosystem | Package | Vulnerable Versions | Patched Version |
|---|---|---|---|
| pypi |
requests
|
< 2.32.4 |
2.32.4
|
chore(deps): Bump the pip group across 1 directory with 2 updates
Closed 2 days ago
xrs444/flux #393
pip:pytest
pip:requests
Bump the pip group across 1 directory with 8 updates
Closed 12 days ago
xbankov/songbook #106
pip:jinja2
pip:lxml
+6 more
Bump requests from 2.30.0 to 2.33.0
Open 14 days ago
zlkNx16/devops-assignment-9 #1
pip:requests
Bump the pip group across 2 directories with 7 updates
Closed 21 days ago
libertymutual/rancher #3
pip:werkzeug
pip:flask
+4 more
chore(deps): bump the pip group across 1 directory with 12 updates
Closed 22 days ago
taavi223/mapproxy #1
pip:lxml
pip:urllib3
+10 more
Bump the pip group across 1 directory with 5 updates
Closed 23 days ago
biramentv-ux/claimradar-bg #1
pip:gradio
pip:pytest
+3 more
build(deps): bump the pip group across 1 directory with 3 updates
Open 27 days ago
timlaing/pyicloud #494
pip:protobuf
pip:cryptography
+1 more
Bump requests from 2.32.2 to 2.33.0 in /src
Closed about 1 month ago
amesones-dev/gfs-bq-manager #11
pip:requests
Bump requests from 2.22.0 to 2.33.0
Closed about 1 month ago
airfluencers/nfe-python #4
pip:requests
Bump the pip group across 1 directory with 4 updates
Open about 1 month ago
jan-tdy/japyscope-remote #77
pip:flask
pip:pytest
+2 more
Bump the pip group across 1 directory with 6 updates
Closed about 1 month ago
1kamma/supermarket-scraping #6
pip:lxml
pip:certifi
+4 more
Bump the pip group across 1 directory with 3 updates
Closed about 1 month ago
entiteco/M2OPS_KVZI #2
pip:pytest
pip:requests
+1 more
chore(deps): bump requests from 2.32.3 to 2.33.0 in /terraform/modules/aws_health_lambda/lambda
Open about 1 month ago
ministryofjustice/modernisation-platform-environments #19845
pip:requests
Bump the pip group across 5 directories with 5 updates
Open about 1 month ago
Sawsqr68/wpt #1
pip:urllib3
pip:pytest
+3 more
Bump the pip group across 1 directory with 4 updates
Closed about 2 months ago
Rub3nCT/public-apis #1
pip:certifi
pip:urllib3
+2 more
Bump requests from 2.31.0 to 2.33.0 in /Web Crawler Project
Closed about 2 months ago
nikhilgajam/Python-Projects #1
pip:requests
Bump requests from 2.32.3 to 2.33.0
Closed about 2 months ago
chartmann1590/Church-Slides-Studio #2
pip:requests
Bump the pip group across 1 directory with 5 updates
Open about 2 months ago
RemyLoveLogicAI/Bagel #11
pip:torch
pip:transformers
+3 more
chore(deps): bump the pip group across 1 directory with 6 updates
Open about 2 months ago
facebookfortune84/SwarmEnterprise-v2 #42
pip:jinja2
pip:requests
+4 more
build(deps): bump the uv group across 4 directories with 3 updates
Closed about 2 months ago
joeabur/Security-Testing-Platform #44
pip:jinja2
pip:requests
+1 more
Bump the pip group across 1 directory with 3 updates
Open 2 months ago
jan-tdy/japyscope-remote #7
pip:flask
pip:pytest
+1 more
chore(deps): bump the pip group across 1 directory with 12 updates
Open 2 months ago
rajivranjanmars/microservices-demo #1
pip:aiohttp
pip:werkzeug
+10 more
Bump the pip group across 1 directory with 10 updates
Open 2 months ago
alphaleadership/pod #50
pip:django
pip:urllib3
+8 more
Bump the pip group across 1 directory with 7 updates
Open 2 months ago
jaingautam262-lang/enable-automatic-ui-machine-translation-and-implement-simplified-gst-automation #5
pip:jinja2
pip:werkzeug
+5 more
Bump the pip group across 1 directory with 6 updates
Open 2 months ago
black-da-bull/llm-workflow-engine #1
pip:jinja2
pip:certifi
+4 more
Bump requests from 2.32.3 to 2.33.0
Closed 2 months ago
Mancolt/booktree #1
pip:requests
Bump requests from 2.32.3 to 2.33.0 in /agent in the pip group across 1 directory
Closed 3 months ago
joshra-git/tradingCluster #1
pip:requests
chore(deps): bump the uv group across 1 directory with 10 updates
Open 3 months ago
firstof9/Home-Assistant-Mail-And-Packages #11
pip:aiohttp
pip:uv
+7 more
build(deps): bump requests from 2.31.0 to 2.33.0
Closed 3 months ago
gurvinny/Automated-Phish-Extractor #31
pip:requests
Bump the python-updates group with 15 updates
Closed 3 months ago
eugene-davis/vault-assessment-prometheus-exporter #268
pip:mypy
pip:types-requests
+13 more
Bump the pip group across 1 directory with 11 updates
Closed 3 months ago
dlove24/lbutils #83
pip:jinja2
pip:black
+9 more
Bump the pip group across 1 directory with 11 updates
Open 3 months ago
WebCraftPhil/firecrawl-app-examples #1
pip:h11
pip:protobuf
+9 more
Bump the pip group across 1 directory with 6 updates
Closed 3 months ago
masonn85/rkdocs #1
pip:torch
pip:protobuf
+4 more
chore(deps): bump the pip group across 3 directories with 2 updates
Open 3 months ago
Aletheore/Aletheore #542
pip:flask
pip:requests
build(deps): bump the pip group across 2 directories with 4 updates
Closed 3 months ago
Harqer/spresso19 #23
pip:torch
pip:gunicorn
+2 more
Bump requests from 2.32.3 to 2.33.0
Closed 3 months ago
truefoundry/debrief-ingest #1
pip:requests
Bump requests from 2.31.0 to 2.33.0
Open 3 months ago
CluedIn-io/CluedIn.DataQualityMetrics.Extension #1
pip:requests
chore(deps): bump the pip group across 1 directory with 13 updates
Open 3 months ago
Into-The-Grey/Auton-OSINT #45
pip:setuptools
pip:aiohttp
+11 more
Bump the pip group across 1 directory with 4 updates
Closed 4 months ago
JoseBravo26/P9_LLM #1
pip:requests
pip:langchain
+2 more
Bump the pip group across 1 directory with 3 updates
Closed 4 months ago
tarekmasryo/football-matches-dashboard #4
pip:pytest
pip:requests
+1 more
Bump requests from 2.28.2 to 2.33.0
Open 4 months ago
ytyng/robobrowserquery #7
pip:requests
Bump the pip group across 1 directory with 2 updates
Closed 4 months ago
txnightcoder-prog/big-truck-adventures #1
pip:pillow
pip:requests
build(deps): bump requests from 2.32.3 to 2.33.0
Closed 4 months ago
TheBaconactor/RoBeats-Calculator-Engine #174
pip:requests
build(deps): bump requests from 2.32.0 to 2.33.0 in /projects/hipcub/docs/sphinx
Open 4 months ago
ROCm/rocm-libraries #9920
pip:requests
Bump the uv group across 3 directories with 9 updates
Open 4 months ago
GlacierEQ/uv #42
pip:urllib3
pip:cryptography
+3 more
Bump the pip group across 1 directory with 3 updates
Closed 4 months ago
big-main/Mind-Expanding-Books #1
pip:certifi
pip:urllib3
+1 more
chore(deps): bump the pip group across 27 directories with 15 updates
Open 5 months ago
RomanAlexanderW/awesome-llm-apps #6
pip:transformers
pip:langchain-openai
+7 more
Bump requests from 2.32.3 to 2.33.0
Open 5 months ago
austrian-olympiad-informatics/cms #73
pip:requests
chore(deps): bump requests from 2.31.0 to 2.33.0 in /monitoring/grafana-slack-proxy in the pip group across 1 directory
Open 5 months ago
Themis128/cloudless.gr #1271
pip:requests
Build(deps): Bump the pip group across 1 directory with 6 updates
Closed 5 months ago
WillianSilva51/Achou-UFC #32
pip:protobuf
pip:tornado
+4 more
Actions
Advisory Details
| Published: | June 09, 2025 over 1 year ago |
| Updated: | November 26, 2026 2 days ago |
| CVSS Score: | 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| EPSS: | 1.31% 71th percentile |
| Source: | Github |
| Classification: | GENERAL |
| UUID: | GSA_kwCzR0hTQS05aGpnLTlyNG0tbXZqN84ABIzt |
PR Statistics
PR Status
Open
10743 (59.2%)
Merged
4475 (24.7%)
Closed
2921 (16.1%)
Update Types
Major
2770 (8.5%)
Minor
11922 (36.5%)
Patch
16939 (51.9%)
References
- https://github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7
- https://nvd.nist.gov/vuln/detail/CVE-2024-47081
- https://github.com/psf/requests/pull/6965
- https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef
- https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env
- https://seclists.org/fulldisclosure/2025/Jun/2
- http://www.openwall.com/lists/oss-security/2025/06/03/11
- http://www.openwall.com/lists/oss-security/2025/06/03/9
- http://www.openwall.com/lists/oss-security/2025/06/04/1
- http://www.openwall.com/lists/oss-security/2025/06/04/6
- https://github.com/advisories/GHSA-9hjg-9r4m-mvj7
- https://github.com/psf/requests
- https://github.com/psf/requests/releases/tag/v2.32.4
- https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2026-1872.yaml
- https://pypi.org/project/requests