Uh oh!
There was an error while loading. Please reload this page.
[GHSA-8r9q-7v3j-jr4g] Correct affected version range for CVE-2026-0621 - #7911
Conversation
👋 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 |
34ce6ed
into
github:albertabiev1/advisory-improvement-7911Uh oh!
There was an error while loading. Please reload this page.
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! |
Summary
The current advisory lists the affected version range as
"introduced": "0"(all versions), which incorrectly flags versions of@modelcontextprotocol/sdkthat do not contain the vulnerable code.This PR changes the affected range from
>= 0, < 1.25.2to>= 1.3.0, < 1.25.2.Evidence
The vulnerable
UriTemplateclass (specifically thepartToRegExp()method containing the ReDoS-prone regex([^/]+(?:,[^/]+)*)) was first introduced in commit7f0cf730("URI Template parser and matcher"), which first shipped in version 1.3.0. The filesrc/shared/uriTemplate.tsdoes not exist in any earlier version.Verified not affected (file
src/shared/uriTemplate.tsabsent, no URI template matching logic):Verified affected (file present, vulnerable regex confirmed with ReDoS PoC):
References
UriTemplate:7f0cf730b392f02f