Skip to content

[Deps] mcp: MCP SDK 2.3.1 and @hono/node-server 1.19.17 (security) - #1119

Merged
Aymericr merged 2 commits into
mainfrom
cursor/mcp-sdk-2-3-1-security-b5d7
Oct 21, 2026
Merged

Aymericr merged 2 commits into
mainfrom
cursor/mcp-sdk-2-3-1-security-b5d7

Conversation

@Aymericr

@Aymericr Aymericr commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Security dependency fix. #1118 moved to MCP SDK v2 at 2.2.0, which is inside the affected range >=2.0.0 <2.3.0 of these advisories (all fixed in 2.3.0):

Advisory Severity Package
GHSA-jm63-cq47-j5jp: shared transport/server instances delivered one HTTP client's messages to another high @modelcontextprotocol/server
GHSA-46jr-4wx8-v453 high @modelcontextprotocol/server
GHSA-rvq5-wwqv-78pq: bearer auth moderate @modelcontextprotocol/server
GHSA-6prh-2h8m-c8cw moderate @modelcontextprotocol/client
GHSA-frvp-7c67-39w9 (fixed in 1.19.15) — @hono/node-server (via @modelcontextprotocol/node)

Changes:

  • @modelcontextprotocol/server and @modelcontextprotocol/client ^2.2.0 → ^2.3.1 in packages/cli, packages/mcp and packages/nodes. The lock now resolves server, client and core at 2.3.1.
  • @modelcontextprotocol/node ^2.1.0 → ^2.1.1 in packages/mcp, to match its server ^2.3.0 peer.
  • Root overrides: "@hono/node-server": "^1.19.15". The lock now resolves 1.19.17. @modelcontextprotocol/node 2.1.1 still declares ^1.19.9, so the override is what keeps the floor above the vulnerable range. It sits next to the existing hono override.
  • bun.lock refreshed. No other packages moved. After the refresh, the lock no longer contains @modelcontextprotocol/{server,client,core}@2.2.x or @hono/node-server@1.19.14.

No app code changes were needed. The breaking change in 2.3.0 is that one Server/McpServer now serves one connection, and a stateless HTTP transport serves one request. Pascal already meets that rule:

  • connectHttp builds a new server and a sessionful transport for each session.
  • stdio uses serveStdio(factory).
  • Each test builds its own server on in-memory transports.

The 2.3.0 change to client redirects (same-origin only) doesn't affect pascal's StreamableHTTPClientTransport connector, which talks to a fixed URL.

How to test

  1. bun install, then rg '@modelcontextprotocol/(server|client|core)@|@hono/node-server@' bun.lock. You should see 2.3.1 and 1.19.17 only.
  2. bun run --filter @pascal-app/mcp test and bun run --filter @pascal-app/cli test. These include the HTTP transport tests with two concurrent sessions and the stdio transport tests.

Run locally: bun run check, skills:validate, check-types and build all pass. The mcp suite passes 1264/0, cli 107/0 and core 5414/0. The nodes suite fails 22 viewer/selection tests in this environment, and it fails the same 22 on main with the old 2.2.0 lock, so those failures were already there. Separately, main's own CI has been red since #903, with 5 verify_scene / scene-verification failures in core.

Screenshots / screen recording

N/A — non-visual change

Checklist

  • I've tested this locally with bun dev
  • My code follows the existing code style (run bun check to verify)
  • I've updated relevant documentation (if applicable)
  • This PR targets the main branch
Open in Web Open in Cursor 

Note

Low Risk
Lockfile and version-range changes only; security fixes with no runtime code edits, though MCP HTTP transport behavior is stricter in 2.3.0.

Reviewed by Cursor Bugbot for commit 6f92927. Bugbot is set up for automated code reviews on this repo. Configure here.

…sories

Raises @modelcontextprotocol/server and client to ^2.3.1 and node to ^2.1.1
(fixes GHSA-jm63-cq47-j5jp, GHSA-46jr-4wx8-v453, GHSA-rvq5-wwqv-78pq,
GHSA-6prh-2h8m-c8cw) and overrides @hono/node-server to ^1.19.15
(GHSA-frvp-7c67-39w9).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T21:20:45.007795Z 6952c8c PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Aymericr Aymericr added the bot:deps label Oct 21, 2026 — with Cursor

@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: 6952c8cb2c

ℹ️ 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 package.json Resolved

Copy link
Copy Markdown
Member Author

Triage: holding this one, not merging yet.

  • quality is red. The failures are the same core scene-verification tests (operations.test.ts, room-graph.ts) that have been failing on main since fix(core): fill slab/ceiling hole fields on scene load #903, so they're not caused by this PR, but we don't merge on red CI.
  • The Codex finding on package.json is valid: the root overrides entry for @hono/node-server only protects installs of this monorepo. npm consumers of @pascal-app/mcp can still resolve @hono/node-server below 1.19.15 through @modelcontextprotocol/node@2.1.1. Please carry the floor into packages/mcp/package.json (e.g. a direct @hono/node-server: ^1.19.15 dependency) so the security fix ships to consumers too.

Handing the follow-up to the Deps bot.

@Aymericr
Aymericr merged commit ee9adf1 into main Oct 21, 2026
7 checks passed
@Aymericr
Aymericr deleted the cursor/mcp-sdk-2-3-1-security-b5d7 branch October 26, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants