Skip to content

[GHSA-8r9q-7v3j-jr4g] Correct affected version range for CVE-2026-0621#7911

Open
albertabiev1 wants to merge 2 commits into
github:albertabiev1/advisory-improvement-7911from
albertabiev1:fix/GHSA-8r9q-7v3j-jr4g-affected-range
Open

[GHSA-8r9q-7v3j-jr4g] Correct affected version range for CVE-2026-0621#7911
albertabiev1 wants to merge 2 commits into
github:albertabiev1/advisory-improvement-7911from
albertabiev1:fix/GHSA-8r9q-7v3j-jr4g-affected-range

Conversation

@albertabiev1

Copy link
Copy Markdown

Summary

The current advisory lists the affected version range as "introduced": "0" (all versions), which incorrectly flags versions of @modelcontextprotocol/sdk that do not contain the vulnerable code.

This PR changes the affected range from >= 0, < 1.25.2 to >= 1.3.0, < 1.25.2.

Evidence

The vulnerable UriTemplate class (specifically the partToRegExp() method containing the ReDoS-prone regex ([^/]+(?:,[^/]+)*)) was first introduced in commit 7f0cf730 ("URI Template parser and matcher"), which first shipped in version 1.3.0. The file src/shared/uriTemplate.ts does not exist in any earlier version.

Verified not affected (file src/shared/uriTemplate.ts absent, no URI template matching logic):

  • 0.0.23
  • 0.7.0
  • 1.0.3
  • 1.2.0

Verified affected (file present, vulnerable regex confirmed with ReDoS PoC):

  • 1.10.0
  • 1.25.1

References

@github-actions github-actions Bot changed the base branch from main to albertabiev1/advisory-improvement-7911 June 8, 2026 09:57
@albertabiev1 albertabiev1 changed the title Fix affected version range for GHSA-8r9q-7v3j-jr4g (CVE-2026-0621) [GHSA-8r9q-7v3j-jr4g] Correct affected version range for CVE-2026-0621 Jun 8, 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.

1 participant