Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

fix(deps): update @modelcontextprotocol/sdk to resolve HIGH CVEs (fast-uri, hono) - #2304

Merged
corvid-agent merged 2 commits into
mainfrom
agent/rook/update-modelcontextprotocol-sdk-to-fix-moy6hrlh-6f0bbd
May 9, 2026
Merged

corvid-agent merged 2 commits into
mainfrom
agent/rook/update-modelcontextprotocol-sdk-to-fix-moy6hrlh-6f0bbd

Conversation

@corvid-agent

Copy link
Copy Markdown
Collaborator

Summary

  • Adds fast-uri >=3.1.2 to package overrides (was absent), closing 2 HIGH CVEs
  • Bumps existing hono override from >=4.12.14 to >=4.12.18, closing 4 MODERATE + 1 LOW CVEs
  • Both are transitive dependencies pulled in by @modelcontextprotocol/sdk → ajv and @modelcontextprotocol/sdk → @hono/node-server
  • @modelcontextprotocol/sdk itself is already at the latest version (1.29.0); the upstream package does not yet pin patched transitive versions, so overrides are the correct fix

CVEs Closed

ID Severity Package Issue
GHSA-v39h-62p7-jpjc HIGH fast-uri ≤3.1.1 Host confusion via percent-encoded authority delimiters
GHSA-q3j6-qgpj-74h6 HIGH fast-uri ≤3.1.1 Path traversal via percent-encoded dot segments
GHSA-qp7p-654g-cw7p MODERATE hono <4.12.18 CSS declaration injection via JSX SSR
GHSA-p77w-8qqv-26rm MODERATE hono Cache middleware cross-user leakage (Vary: Authorization ignored)
GHSA-9vqf-7f2p-gf9v MODERATE hono bodyLimit bypass for chunked requests
GHSA-69xw-7hcm-h432 MODERATE hono Unvalidated JSX tag names allowing HTML injection
GHSA-hm8q-7f3q-5f36 LOW hono Improper JWT NumericDate validation

Verification

  • bun audit → 0 vulnerabilities
  • fledge lanes run verify → ✅ lint, typecheck, tests, spec-check all pass

🤖 Generated with Claude Code

corvid-agent and others added 2 commits May 7, 2026 19:23
…handler

The get, activate, pause, trigger, runs, and run_status actions all
lacked ownership checks — any agent could read or mutate another
agent's workflows/runs by guessing a UUID. Fix by verifying
workflow.agentId === ctx.agentId after fetch and returning a
"not found" error on mismatch. The runs action without a workflow_id
now filters by ctx.agentId via a new agentId param on listWorkflowRuns.

Adds 10 isolation tests in workflow-tool-handler.test.ts covering
every sensitive action for both the rejection and allowed paths.
Spec updated with a new invariant (9).

Closes #2303

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds `fast-uri >=3.1.2` override (was missing) and bumps the existing
`hono` override from `>=4.12.14` to `>=4.12.18`. Both are transitive
dependencies of `@modelcontextprotocol/sdk`.

Closes GHSA-v39h-62p7-jpjc (fast-uri host confusion — HIGH)
Closes GHSA-q3j6-qgpj-74h6 (fast-uri path traversal — HIGH)
Closes GHSA-qp7p-654g-cw7p (hono CSS injection — MODERATE)
Closes GHSA-p77w-8qqv-26rm (hono cache cross-user leakage — MODERATE)
Closes GHSA-9vqf-7f2p-gf9v (hono bodyLimit bypass — MODERATE)
Closes GHSA-69xw-7hcm-h432 (hono JSX HTML injection — MODERATE)
Closes GHSA-hm8q-7f3q-5f36 (hono JWT NumericDate — LOW)

`bun audit` reports 0 vulnerabilities after this change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@corvid-agent
corvid-agent requested a review from a team as a code owner May 9, 2026 10:11
@corvid-agent
corvid-agent requested review from 0xGaspar, 0xLeif, Kyntrin and tofu-ux and removed request for a team May 9, 2026 10:11

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Corvin says...

      _
    <(^\  .oO(Caw! ^v^)
     |/(\
      \(\\
      " "\\

"Caw! Your code sparkles like a dropped french fry."

CI Summary

Check Status
CI (tsc, tests, migrations) ✅ Passed
Spec Validation ✅ Passed
📋 Spec Validation Details

✅ SpecSync: Passed

Metric Value
Specs checked 220
Passed 220
Errors 0
Warnings 0
File coverage 100% (591/591)
LOC coverage 100% (137058/137058)

Generated by specsync · Run specsync check --format github to reproduce


Powered by corvid-pet

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

👋 CorvidAgent is looking into this.

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

CI and spec validation both green — merging this dependency update. Thanks Corvin! 🪶

@corvid-agent
corvid-agent merged commit 3dbf8cb into main May 9, 2026
11 checks passed
@corvid-agent
corvid-agent deleted the agent/rook/update-modelcontextprotocol-sdk-to-fix-moy6hrlh-6f0bbd branch May 9, 2026 10:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant