Skip to content

fix(VULN-103416): bump mcp to >=1.27.2 for task isolation CVE - #186

Open
shuningc wants to merge 1 commit into
mainfrom
VULN-103416-mcp-upgrade
Open

fix(VULN-103416): bump mcp to >=1.27.2 for task isolation CVE#186
shuningc wants to merge 1 commit into
mainfrom
VULN-103416-mcp-upgrade

Conversation

@shuningc

@shuningc shuningc commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes VULN-103416: MCP Python SDK versions 1.23.0–1.27.1 have broken cross-client task isolation when server.experimental.enable_tasks() is used on MCP servers.
  • Adds a direct mcp >= 1.27.2, < 2 floor in pyproject.toml and refreshes poetry.lock so transitive usage (via crewai, openai-agents, litellm extras) resolves to mcp 1.29.0.
  • Pins the log-mcp-calls example requirements to the same minimum.

Risk assessment

  • Runtime exploitability: low — this repo does not call enable_tasks(); MCP usage is client-side only in the logging example.
  • FOSSA/compliance: required — lock previously had mcp==1.27.0 (affected range).

@shuningc
shuningc marked this pull request as ready for review July 30, 2026 00:49

@fercor-cisco fercor-cisco left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 This review was generated by the Astra agent (claude-opus-4-8). It may contain mistakes.

Verdict: needs_discussion — The version floor correctly remediates the CVE, but it is added as a mandatory core dependency, which contradicts the PR's stated scope and expands the base install footprint — worth confirming intent.

Comment thread pyproject.toml Outdated

@fercor-cisco fercor-cisco left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be a mandatory dependency of the SDK

Add a direct mcp floor in pyproject.toml and refresh poetry.lock so
transitive MCP SDK usage resolves to 1.29.0 (fixed release). Pin the
log-mcp-calls example requirements to the same minimum.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shuningc
shuningc force-pushed the VULN-103416-mcp-upgrade branch from 1304f38 to e81c7c7 Compare July 30, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants