Skip to content

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

Merged
advisory-database[bot] merged 2 commits into
github:albertabiev1/advisory-improvement-7911from
albertabiev1:fix/GHSA-8r9q-7v3j-jr4g-affected-range
Jul 15, 2026
Merged

[GHSA-8r9q-7v3j-jr4g] Correct affected version range for CVE-2026-0621#7911
advisory-database[bot] merged 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
@github-actions

Copy link
Copy Markdown

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the Keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.

@github-actions github-actions Bot added the Stale label Jul 11, 2026
@advisory-database
advisory-database Bot merged commit 34ce6ed into github:albertabiev1/advisory-improvement-7911 Jul 15, 2026
1 check passed
@advisory-database

Copy link
Copy Markdown
Contributor

Hi @albertabiev1! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant