# CVE-2025-50181: urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-18T17:50:00.000Z
- Modified: 2026-09-10T03:50:25.299Z
- Also known as: GHSA-pq67-6m6q-mj2v, PYSEC-2026-1999
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.

(As written by CVE List.)

## Affected

- urllib3 urllib3: < 2.5.0
- urllib3 (PyPI): before 2.5.0
- python urllib3: before 2.5.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/urllib3/urllib3/security/advisories/GHSA-pq67-6m6q-mj2v> (exploit, vendor-advisory, web)
- <https://github.com/urllib3/urllib3/commit/f05b1329126d5be6de501f9d1e3e36738bc08857> (fix, patch, web)
- <https://github.com/urllib3/urllib3/releases/tag/2.5.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-50181> (advisory)
- <https://github.com/urllib3/urllib3> (package)
- <https://pypi.org/project/urllib3> (package)
- <https://github.com/advisories/GHSA-pq67-6m6q-mj2v> (advisory)

## Sources

- CVE List: [CVE-2025-50181](https://www.cve.org/CVERecord?id=CVE-2025-50181), CVE Terms of Use, modified 2025-12-22
- GitHub Advisory Database: [GHSA-pq67-6m6q-mj2v](https://github.com/advisories/GHSA-pq67-6m6q-mj2v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-50181](https://nvd.nist.gov/vuln/detail/CVE-2025-50181), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1999](https://osv.dev/vulnerability/PYSEC-2026-1999), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-50181 · Whole record: https://cve.day/CVE-2025-50181.json · Rebuilt by cve.day 2026-11-25T22:58:59.391Z
