Skip to content

fix: upgrade @modelcontextprotocol/sdk to 1.29.0 to fix CVE-2026-4926#169

Merged
mattpodwysocki merged 14 commits intomainfrom
fix/cve-2026-4926-path-to-regexp
Apr 1, 2026
Merged

fix: upgrade @modelcontextprotocol/sdk to 1.29.0 to fix CVE-2026-4926#169
mattpodwysocki merged 14 commits intomainfrom
fix/cve-2026-4926-path-to-regexp

Conversation

@mattpodwysocki
Copy link
Copy Markdown
Contributor

Summary

  • Upgrades @modelcontextprotocol/sdk from ^1.27.1 to ^1.29.0
  • Resolves path-to-regexp to 8.4.1, fixing ReDoS vulnerability GHSA-j3q9-mxjg-w52f (CVE-2026-4926)
  • Regenerates SDK patch for 1.29.0 (replaces old patches for 1.25.2 and 1.27.1) to maintain the warn-instead-of-throw behavior for output schema validation

Test plan

  • npm test passes
  • npm run build succeeds
  • npm ls path-to-regexp shows 8.4.1

🤖 Generated with Claude Code

mattpodwysocki and others added 14 commits January 12, 2026 16:18
Implements MCP server icons at the correct architectural level (server
initialization) instead of at the tool level. Adds both light and dark
theme variants of the Mapbox logo using base64-encoded SVG data URIs.

- Add mapbox-logo-black.svg for light theme backgrounds
- Add mapbox-logo-white.svg for dark theme backgrounds
- Update server initialization to include icons array with theme property
- Use 800x180 SVG logos embedded as base64 data URIs

This replaces the previous incorrect approach of adding icons to
individual tools, which was not aligned with the MCP specification.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updates the MCP SDK from 1.25.1 to 1.25.2 and recreates the output
validation patch for the new version. The patch continues to convert
strict output schema validation errors to warnings, allowing tools
to gracefully handle schema mismatches.

Changes:
- Update @modelcontextprotocol/sdk from ^1.25.1 to ^1.25.2
- Recreate SDK patch for version 1.25.2
- Remove obsolete 1.25.1 patch file
- All 397 tests pass with new SDK version

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Upgrades @modelcontextprotocol/sdk from ^1.27.1 to ^1.29.0, which
resolves path-to-regexp to 8.4.1 and fixes the ReDoS vulnerability
GHSA-j3q9-mxjg-w52f (CVE-2026-4926).

Regenerates the patch for SDK 1.29.0 (replaces patches for 1.25.2 and
1.27.1) to maintain the warn-instead-of-throw behavior for output schema
validation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mattpodwysocki mattpodwysocki requested a review from a team as a code owner April 1, 2026 18:07
@mattpodwysocki mattpodwysocki merged commit 1c1cfe1 into main Apr 1, 2026
5 checks passed
@mattpodwysocki mattpodwysocki deleted the fix/cve-2026-4926-path-to-regexp branch April 1, 2026 18:13
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