Sourced from urllib3's releases.
2.5.0
🚀 urllib3 is fundraising for HTTP/2 support
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
Security issues
urllib3 2.5.0 fixes two moderate security issues:
- Pool managers now properly control redirects when
retriesis passed — CVE-2025-50181 reported by@​sandumjacob(5.3 Medium, GHSA-pq67-6m6q-mj2v)- Redirects are now controlled by urllib3 in the Node.js runtime — CVE-2025-50182 (5.3 Medium, GHSA-48p4-8xcf-vxj5)
Features
- Added support for the
compression.zstdmodule that is new in Python 3.14. See PEP 784 for more information. (#3610)- Added support for version 0.5 of
hatch-vcs(#3612)Bugfixes
Sourced from urllib3's changelog.
2.5.0 (2025-06-18)
Features
- Added support for the
compression.zstdmodule that is new in Python 3.14. SeePEP 784 <https://peps.python.org/pep-0784/>_ for more information. ([#3610](https://github.com/urllib3/urllib3/issues/3610) <https://github.com/urllib3/urllib3/issues/3610>__)- Added support for version 0.5 of
hatch-vcs([#3612](https://github.com/urllib3/urllib3/issues/3612) <https://github.com/urllib3/urllib3/issues/3612>__)Bugfixes
- Fixed a security issue where restricting the maximum number of followed redirects at the
urllib3.PoolManagerlevel via theretriesparameter did not work.- Made the Node.js runtime respect redirect parameters such as
retriesandredirects.- Raised exception for
HTTPResponse.shutdownon a connection already released to the pool. ([#3581](https://github.com/urllib3/urllib3/issues/3581) <https://github.com/urllib3/urllib3/issues/3581>__)- Fixed incorrect
CONNECTstatement when using an IPv6 proxy withconnection_from_host. Previously would not be wrapped in[]. ([#3615](https://github.com/urllib3/urllib3/issues/3615) <https://github.com/urllib3/urllib3/issues/3615>__)
aaab4ec
Release 2.5.07eb4a2a
Merge commit from forkf05b132
Merge commit from forkd03fe32
Fix HTTP tunneling with IPv6 in older Python versions11661e9
Bump github/codeql-action from 3.28.0 to 3.29.0 (#3624)6a0ecc6
Update v2 migration guide to 2.4.0 (#3621)8e32e60
Raise exception for shutdown on a connection already released to the
pool (#3...9996e0f
Fix emscripten CI for Chrome 137+ (#3599)4fd1a99
Bump RECENT_DATE (#3617)c4b5917
Add support for the new compression.zstd module in Python
3.14 (#3611)