Repository navigation
[GHSA-fc5q-39xc-vjpf] picomatch vulnerable to ReDoS through single-branch repeated extglobs - #11397
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The change removes the advisory’s only CVSS v4 assessment rather than updating it to the requested AC:H value, leaving the published record inconsistent.
1 open issue
What changed in this PR
Updates the picomatch advisory’s exploitability and severity metadata to reflect the requirement that an attacker control the glob pattern.
Changes:
- Changes the CVSS v3 attack complexity from low to high.
- Removes the CVSS v4 assessment.
- Lowers the advisory severity from high to moderate and updates the modification timestamp.
| File | Description |
|---|---|
| advisories/github-reviewed/2026/10/GHSA-fc5q-39xc-vjpf/GHSA-fc5q-39xc-vjpf.json | Revises the picomatch advisory’s CVSS metadata, severity classification, and modification timestamp. |
Review effort: Lite (adaptive)
| "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H" | ||
| } |
|
+1. In our case picomatch only comes in through dev tooling (vitest, vite, dependency-cruiser, kysely-codegen), and every glob it matches comes from our own repository’s configuration, never from user input. The attacker would have to control the pattern, so AC:H and a moderate severity match the real exposure. For reference, vite’s maintainers closed vitejs/vite#24131 as a false positive for the same reason |
3634df1
into
0x00-sys/advisory-improvement-11397
|
Hi @0x00-sys! 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! |

Updates
Comments
lowering severity: this only triggers when the attacker controls the glob pattern itself, not the string being matched. that's a precondition outside the attacker's control in most setups (globs normally come from the app's own config), so AC:H fits better than AC:L.
also the maintainer disputes that it's a vulnerability at all (micromatch/picomatch#235 (comment)) and snyk has revoked their entry (https://security.snyk.io/vuln/SNYK-JS-PICOMATCH-21248802). plain regex groups like (a+)+b are just as slow through picomatch, so it isn't specific to these extglobs.