Skip to content

[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.10.0 to 1.25.2#54

Open
omercnet wants to merge 1 commit intomainfrom
snyk-fix-8f1a9e76732984695cab70a65a6bb48c
Open

[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.10.0 to 1.25.2#54
omercnet wants to merge 1 commit intomainfrom
snyk-fix-8f1a9e76732984695cab70a65a6bb48c

Conversation

@omercnet
Copy link
Member

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • examples/express-mcp-server/package.json
  • examples/express-mcp-server/pnpm-lock.yaml

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802
  828  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

…server/pnpm-lock.yaml to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802
@omercnet omercnet requested a review from gaokevin1 as a code owner January 13, 2026 10:28
Copilot AI review requested due to automatic review settings January 13, 2026 10:28
@vercel
Copy link
Contributor

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ai Ready Ready Preview, Comment Jan 13, 2026 10:28am
nextjs-descope-mcp-server Ready Ready Preview, Comment Jan 13, 2026 10:28am

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
weather-mcp-server c909794 Jan 13 2026, 10:28 AM

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 13, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
remote-mcp-server-bearer-auth c909794 Jan 13 2026, 10:28 AM

@netlify
Copy link

netlify bot commented Jan 13, 2026

Deploy Preview for express-mcp-server ready!

Name Link
🔨 Latest commit c909794
🔍 Latest deploy log https://app.netlify.com/projects/express-mcp-server/deploys/69661e32986ccb0008ee9f1e
😎 Deploy Preview https://deploy-preview-54--express-mcp-server.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jan 13, 2026

Deploy Preview for mcp-example-oauth canceled.

Name Link
🔨 Latest commit c909794
🔍 Latest deploy log https://app.netlify.com/projects/mcp-example-oauth/deploys/69661e3252160c000861c9a9

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the @modelcontextprotocol/sdk package from version 1.10.0 to 1.25.2 to address a high-severity Regular Expression Denial of Service (ReDoS) vulnerability (SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802) with a priority score of 828.

Changes:

  • Upgrade @modelcontextprotocol/sdk from 1.10.0 to 1.25.2 in package.json
  • Update pnpm-lock.yaml with new dependency resolutions and additional transitive dependencies

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
examples/express-mcp-server/package.json Updates the @modelcontextprotocol/sdk version specifier from ^1.10.0 to ^1.25.2
examples/express-mcp-server/pnpm-lock.yaml Updates lock file with new SDK version, adds new transitive dependencies (hono, ajv, jose v6, etc.), and updates zod-to-json-schema peer dependency requirements
Files not reviewed (1)
  • examples/express-mcp-server/pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"@descope/mcp-express": "^1.0.4",
"@descope/node-sdk": "^1.6.13",
"@modelcontextprotocol/sdk": "^1.10.0",
"@modelcontextprotocol/sdk": "^1.25.2",
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

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

The upgraded @modelcontextprotocol/sdk@1.25.2 has a peer dependency requirement of "zod: ^3.25 || ^4.0", but the project currently uses zod@3.24.2 (resolves to 3.24.3). This version mismatch could lead to runtime errors or unexpected behavior. The zod dependency should be upgraded to at least version 3.25.0 to satisfy the peer dependency requirement.

Copilot uses AI. Check for mistakes.
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

Comments