CVE-2025-50182
urllib3 does not control redirects in browsers and Node.js
Reported by github_m · Published June 19, 2025
urllib3 is fixed in 2.5.0 (PyPI)
urllib3 is a user-friendly HTTP client library for Python. Starting in version 2.2.0 and prior to 2.5.0, urllib3 does not control redirects in browsers and Node.js. urllib3 supports being used in a Pyodide runtime utilizing the JavaScript Fetch API or falling back on XMLHttpRequest. This means Python libraries can be used to make HTTP requests from a browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects, but the retries and redirect parameters are ignored with Pyodide; the runtime itself determines redirect behavior. This issue has been patched in version 2.5.0.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| urllib3 | PyPI | 2.5.0 |
| py3.11-pytorch-cuda-11.8 | Chainguard | 2.3.1-r7 |
| kubeflow-pipelines | Wolfi | 2.5.0-r4 |
| datadog-agent | Chainguard | 7.72.2-r0 |
| airflow-core-2 | Chainguard | 2.11.0-r3 |
| jupyter-docker-stacks | Chainguard | 999.9.9_git20260925-r0 |
| jwt-tool | Chainguard | 2.3.0-r2 |
| py3.9-pip | Chainguard | 25.1.1-r0 |
| grafana-oncall | Chainguard | 1.16.3-r0 |
| emissary | Wolfi | 3.10.0-r6 |
| k8s-sidecar | Wolfi | 1.30.5-r0 |
| datadog-agent-fips-7.71 | Chainguard | 7.71.2-r19 |
64 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| urllib3 | urllib3 | >= 2.2.0, < 2.5.0 |
| chainguard | py3.11-pytorch-cuda-11.8 | 0 |
| wolfi | kubeflow-pipelines | 0 |
| chainguard | datadog-agent | 0 |
| chainguard | airflow-core-2 | 0 |
| chainguard | jupyter-docker-stacks | 0 |
| chainguard | jwt-tool | 0 |
| chainguard | py3.9-pip | 0 |
| chainguard | grafana-oncall | 0 |
| wolfi | emissary | 0 |
| wolfi | k8s-sidecar | 0 |
| wolfi | ansible-operator | * |
| chainguard | datadog-agent-fips-7.71 | 0 |
| chainguard | dask-kubernetes | 0 |
| chainguard | datadog-agent-fips | 0 |
| wolfi | jupyter-docker-stacks | 0, 0 |
| wolfi | airflow-3 | 0 |
| chainguard | az | 0 |
| chainguard | py3.11-pytorch-cuda-12.3 | 0 |
| chainguard | mlflow | 0 |
…and 66 more
Timeline
- Jun 18, 2025 CVE Published
- Jun 19, 2025 EPSS Score (30 in total, the first dated here)
- Jun 19, 2025 Coalition ESS Score (18 in total, the first dated here)
- Dec 11, 2025 Security Advisory
- Feb 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-50182
vulnetix vdb fixes CVE-2025-50182
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-50182/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5 x_refsource_CONFIRM
- https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f x_refsource_MISC
- https://github.com/urllib3/urllib3/releases/tag/2.5.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-50182 advisory
- https://github.com/advisories/GHSA-48p4-8xcf-vxj5 advisory
- https://github.com/urllib3/urllib3 url