Skip to content

fix: upgrade @modelcontextprotocol/sdk to 1.25.2 (CVE-2026-0621)#6

Merged
grantiguess merged 1 commit into
theredstring:mainfrom
anupamme:fix-repo-redstring-cve-2026-0621-modelcontextprotocol-sdk
Jul 25, 2026
Merged

fix: upgrade @modelcontextprotocol/sdk to 1.25.2 (CVE-2026-0621)#6
grantiguess merged 1 commit into
theredstring:mainfrom
anupamme:fix-repo-redstring-cve-2026-0621-modelcontextprotocol-sdk

Conversation

@anupamme

Copy link
Copy Markdown
Contributor

Summary

Upgrade @modelcontextprotocol/sdk from 1.24.0 to 1.25.2 to fix CVE-2026-0621.

Vulnerability

Field Value
ID CVE-2026-0621
Severity HIGH
Scanner trivy
Rule CVE-2026-0621
File package-lock.json
Assessment Likely exploitable

Description: Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

Evidence

Scanner confirmation: trivy rule CVE-2026-0621 flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Threat Model Context

This is a web service - vulnerabilities in request handlers are directly exploitable by remote attackers.

Changes

  • package.json
  • package-lock.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path, and the project's existing tests still pass, so intended behavior is unchanged.

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
@anupamme
anupamme requested a review from theredstring as a code owner July 25, 2026 06:41
@grantiguess
grantiguess merged commit a6352bf into theredstring:main Jul 25, 2026
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