Repository navigation
fix(ci): bump mcp to 1.28.1 to resolve osv-scan CVEs - #33683
Closed
cursor[bot] wants to merge 1 commit into
Closed
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
mcp 1.26.0 has 3 known high-severity GHSAs (all fixed in <=1.28.1): - GHSA-hvrp-rf83-w775: experimental task handlers allow any client to access and cancel other clients' tasks (fixed in 1.27.2) - GHSA-jpw9-pfvf-9f58: HTTP transports serve session requests without verifying the authenticated principal (fixed in 1.27.2) - GHSA-vj7q-gjh5-988w: WebSocket server transport does not support Host/Origin validation (fixed in 1.28.1) Bumps the proxy extra floor from >=1.26.0 to >=1.28.1 in pyproject.toml and refreshes uv.lock (regenerated with uv 0.10.9 to keep the diff to mcp only). The <2.0 upper bound is unchanged Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
Contributor
|
Closing as superseded, since main requires mcp 2.2 or newer after #41718 and this bump to 1.28.1 no longer applies |
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.
Relevant issues
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
Before (any PR against
litellm_internal_stagingat HEAD4d33964898, e.g. https://github.com/BerriAI/litellm/actions/runs/29574961486/job/83553076108): the osv-scan check fails withAfter: the osv-scan check on this PR runs against mcp 1.28.1 and reports no known vulnerabilities for it (proof is the green osv-scan check on this PR's HEAD; will update here once CI completes)
No runtime behavior changes; sanity-checked with the litellm mcp import surface against mcp 1.28.1:
Also ran the pure-python subset of
tests/mcp_tests/against the new lock; 140/140 pass, and the small handful of pre-existing failures reproduce on staging without this change (they need a system-pythonmcpinstall or anOPENAI_API_KEY)Type
Bug Fix
Infrastructure
Changes
Bumps the
mcpfloor in theproxyextra from>=1.26.0,<2.0to>=1.28.1,<2.0inpyproject.tomland regeneratesuv.lockviauv lock --upgrade-package mcp. The lock was regenerated with uv 0.10.9 (the version family that wrote the current staging lock) so the diff touches only mcp's entry (version, sdist, wheel hashes) plus uv'sexclude-newertimestamp; regenerating with uv 0.11.x adds several hundred lines of unrelated marker normalization churn.mcp 1.26.0 has three known high-severity GHSAs, all fixed no later than 1.28.1, which made the osv-scan check fail on every PR:
Final Attestation