Skip to content

Commit 3f9f406

Browse files
authored
fix(deps): bump @modelcontextprotocol/sdk to 1.25.2 (CVE-2026-0621 ReDoS) (#140)
@modelcontextprotocol/sdk < 1.25.2 contains a ReDoS vulnerability in the UriTemplate class (partToRegExp generates nested quantifiers that can cause catastrophic backtracking on crafted resources/read URIs). Bump to the patched 1.25.2. Fixes #124 Fixes #114
1 parent 8840ce3 commit 3f9f406

2 files changed

Lines changed: 30 additions & 6 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"typecheck": "tsc --noEmit"
3434
},
3535
"dependencies": {
36-
"@modelcontextprotocol/sdk": "1.24.3",
36+
"@modelcontextprotocol/sdk": "1.25.2",
3737
"find-process": "2.0.0",
3838
"pid-port": "2.0.0",
3939
"undici": "^7.18.2",

pnpm-lock.yaml

Lines changed: 29 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)