-
Notifications
You must be signed in to change notification settings - Fork 26
fix(docs): address ReDoS vulnerability in @modelcontextprotocol/sdk (CVE-2026-0621) #6240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
4 Skipped Deployments
|
…VE-2026-0621) Override @modelcontextprotocol/sdk to use the fixed commit from GitHub (0a75810b26e24bae6b9cfb41e12ac770aeaa1da4) which contains the fix for the ReDoS vulnerability in the UriTemplate class. The fix was merged to the main branch on 2026-01-07 but has not yet been published to npm. Using a pnpm override to point to the fixed commit until a new npm version is released. Closes Dependabot Alert #304 Co-Authored-By: unknown <>
🚀 FDR Lambda Preview DeployedYour Lambda function has been deployed to a preview environment! 🔗 Preview URL: https://lc4mjfmprd.execute-api.us-east-1.amazonaws.com/preview-6240 📝 Available Endpoints:
📋 Example Usage: # Test default endpoint
curl "https://lc4mjfmprd.execute-api.us-east-1.amazonaws.com/preview-6240"
# Test metadata endpoint (public - no auth required)
curl -X POST "https://lc4mjfmprd.execute-api.us-east-1.amazonaws.com/preview-6240/metadata-for-url" \
-H "Content-Type: application/json" \
-d '{"url":"https://docs.buildwithfern.com"}'
# Test load docs endpoint (requires Fern token)
curl -X POST "https://lc4mjfmprd.execute-api.us-east-1.amazonaws.com/preview-6240/load-docs-for-url" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $FERN_TOKEN" \
-d '{"url":"https://docs.buildwithfern.com"}'
# Test load-fields endpoint (requires Fern token)
curl -X POST "https://lc4mjfmprd.execute-api.us-east-1.amazonaws.com/preview-6240/load-fields" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $FERN_TOKEN" \
-d '{"domain":"docs.buildwithfern.com","fields":["BASE_URL","CONFIG"]}'🏷️ Stack Name: ℹ️ Note: This preview will be automatically destroyed when the PR is closed or merged. |
|
We should be able to use version 1.25.2 once this PR merges: modelcontextprotocol/typescript-sdk#1365 |
🌱 Smoke Test PreviewRun at: 2026-01-07 18:32:41 UTC Testing branch changes with smoke test content:
|
|
@davidkonigsberg This PR is ready for review. Summary:
CI Status:
Note: The override should be removed once a patched version (>1.25.1) is published to npm. |
…itHub commit Co-Authored-By: unknown <>
Co-Authored-By: unknown <>
🗑️ Preview Environment Cleaned UpThe preview Lambda stack |
Short description of the changes made
Updated
@modelcontextprotocol/sdkdirect dependency from^1.25.1to^1.25.2inpackages/fern-docs/bundle/package.json, which contains the fix for the ReDoS vulnerability (CVE-2026-0621).What was the motivation & context behind this PR?
Alert Details:
The vulnerability is a Regular Expression Denial of Service (ReDoS) in the UriTemplate class when processing RFC 6570 exploded array patterns. An attacker could supply a malicious URI that causes excessive CPU consumption.
View Dependabot Alert
How has this PR been tested?
pnpm lint:biome)pnpm why @modelcontextprotocol/sdkthat version 1.25.2 is resolved for both the direct dependency andmcp-handlerpeer dependencyChecklist for human review
cc @davidkonigsberg for review
Link to Devin run: https://app.devin.ai/sessions/ba74b1349f614ccaa72530c457c0d55b