chore(fetch): bump urllib3 to 2.7.0 (defense-in-depth, clears scanner alerts)#4261
Open
orbisai0security wants to merge 1 commit into
Open
Conversation
LuuOW
reviewed
Jun 13, 2026
LuuOW
left a comment
There was a problem hiding this comment.
Technical audit: Verified MCP server implementation for consistency with current SDK patterns.
urllib3 is a transitive dependency (readabilipy -> requests -> urllib3). CVE-2026-44431 affects urllib3's proxy-tunnel code path; mcp-server-fetch does not route requests through requests/urllib3 at runtime (it uses httpx for all HTTP), so there is no direct exposure. Upgrading as defense-in-depth and to clear automated scanner alerts. Lockfile hashes verified against PyPI (uv lock confirms resolution). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
be131e7 to
1de3c1a
Compare
Author
I've reworked the PR. Pls review. |
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.
Context
CVE-2026-44431 affects urllib3 ≤ 2.6.3 in its proxy tunnel code path.
This change bumps urllib3 from 2.6.3 → 2.7.0 in
src/fetch/uv.lock.Dependency Chain
mcp-server-fetchis a Python MCP server (not a Node.js library).urllib3 is a transitive dependency:
readabilipy>=0.2.0(direct dep) →requests→urllib3At runtime,
mcp-server-fetchuses httpx for all HTTP operations,not
requestsorurllib3. The vulnerable proxy path in urllib3 isnot reachable from this server's code.
Severity Assessment
Not directly exploitable in this server. The CVE's affected code
path (urllib3 proxy tunnel handling) is never invoked by mcp-server-fetch.
This upgrade is a defence-in-depth / hygiene measure to clear
automated scanner alerts and ensure the dependency tree is clean.
Changes Made
src/fetch/uv.lockto resolve urllib3 2.7.0pyproject.toml(urllib3 is transitive; no pin needed)Verification
uv lockrun insrc/fetch/confirms 2.7.0 is the resolved versionuv lockproduces no further diff — hashes match PyPI exactlyserver.pyuseshttpx.AsyncClient, notrequests/urllib3urllib3import anywhere undersrc/fetch/src/EOF
)"
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input, and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security