Skip to main content
← All vulnerabilities
CVE-2025-50182PYSEC-2026-1997GHSA-48P4-8XCF-VXJ5

urllib3 does not control redirects in browsers and Node.js

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • urllib3 urllib3

    From 2.2.0 · fixed in 2.5.0

  • urllib3PyPI

    From 2.2.0 · fixed in 2.5.0

References 3

GitHub · urllib3/urllib3