Skip to content

Bump mcp/ deps to close known CVEs - #15

Merged
speech115 merged 1 commit into
mainfrom
claude/stoic-ishizaka-717221
Jul 1, 2026
Merged

Bump mcp/ deps to close known CVEs#15
speech115 merged 1 commit into
mainfrom
claude/stoic-ishizaka-717221

Conversation

@speech115

Copy link
Copy Markdown
Owner

Summary

  • uv lock --upgrade in mcp/ to pull the full dependency tree to latest, closing known CVEs: starlette (BadHost auth-bypass + 4 others), cryptography, pyjwt, python-multipart, pydantic-settings, python-dotenv
  • Raised the pydantic-settings and python-dotenv floor pins in mcp/pyproject.toml so a fresh install can't land on the vulnerable range
  • control-plane/ needed no change (pyyaml already latest, no known CVEs)

Test plan

  • mcp unit tests (383 passed) on old deps (baseline) and again on upgraded deps
  • python -m compileall src tests clean
  • Full ./scripts/fresh-install-smoke.sh release gate: packaging-hygiene, mcp-pytest, mcp-release-gates, plugin-package-build all ok
  • Confirmed the 2 failing control-plane fast_read_adapter tests are a pre-existing local-PATH artifact of this worktree setup (reproduces identically on unmodified main, unrelated to this change)

🤖 Generated with Claude Code

…raphy, pyjwt, python-multipart, pydantic-settings, python-dotenv)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@speech115
speech115 merged commit 1cc2156 into main Jul 1, 2026
2 checks passed
@speech115
speech115 deleted the claude/stoic-ishizaka-717221 branch July 1, 2026 08:36

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1735b700e5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread mcp/pyproject.toml
Comment on lines 8 to +11
"telethon>=1.44.0",
"cryptg>=0.4",
"pydantic>=2.9",
"pydantic-settings>=2.7",
"python-dotenv>=1.0",
"pydantic-settings>=2.14.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Raise the mcp floor for CVE fixes

This dependency block only raises pydantic-settings/python-dotenv while mcp>=1.26.0 still permits the vulnerable SDK tree. In the checked install paths I inspected (.github/workflows/ci.yml and scripts/ci-release-gate.sh), the repo uses pip install -e . without -U; pip install --help says -U, --upgrade is what upgrades specified packages, so an existing MCP venv with mcp==1.26.0 remains valid and keeps the old Starlette/PyJWT/python-multipart/cryptography versions this commit is meant to replace. Please bump the mcp lower bound to the first safe version (and add direct transitive floors if needed) so the standard update path actually exits the vulnerable range.

Useful? React with 👍 / 👎.

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.

1 participant