deps(security): bump urllib3 floor to >=2.7.0 (GHSA-mf9v-mfxr-j63j + GHSA-qccp-gfcp-xxvc, HIGH)#1975
Merged
qin-ctx merged 1 commit intoMay 12, 2026
Conversation
Close GHSA-mf9v-mfxr-j63j (decompression-bomb safeguards bypass, HIGH) and GHSA-qccp-gfcp-xxvc (sensitive headers forwarded across origins in proxied redirects, HIGH). Both advisories published 2026-05-11, both first_patched_version=2.7.0.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
1 task
qin-ctx
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump
urllib3floor from>=2.6.3to>=2.7.0inpyproject.tomlto close two HIGH-severity advisories published 2026-05-11 againsturllib3 < 2.7.0.Vulnerabilities (both HIGH, both first_patched_version
2.7.0)HTTPResponse.drain_conn()called after partial decompression (and during a second HTTP CONNECT) can bypass the body-size enforcement and process unlimited decompressed bytes. Vulnerable range>= 2.6.0, < 2.7.0.Authorization,Proxy-Authorization,Cookie) are forwarded across origins on proxied low-level redirects, leaking credentials to attacker-controlled origins. Vulnerable range>= 1.23, < 2.7.0.Current floor
>=2.6.3permits installing2.6.3(vulnerable to both), so any deployment resolving deps fresh can pick up a vulnerable build until the floor is lifted.Diff
Why now
Same one-line floor-bump form as recently merged #1877 (
python-multipartGHSA-pp6c-gr5w-3c5g) and #1882 (litellm5 GHSAs), and currently-open #1963 (langchain-coreGHSA-pjwx-r37v-7724). Both urllib3 advisories are ~32h old at the time of this PR — Dependabot weekly cadence will catch it but not for days.Verification
pyproject.tomlis the only file changed; only theurllib3line is modified.urllib3exists in this dep block, so2.7.0is a satisfiable patch-level bump.