Skip to content

[GHSA-fc5q-39xc-vjpf] picomatch vulnerable to ReDoS through single-branch repeated extglobs - #11397

Merged
advisory-database[bot] merged 1 commit into
0x00-sys/advisory-improvement-11397from
0x00-sys-GHSA-fc5q-39xc-vjpf
Nov 18, 2026
Merged

advisory-database[bot] merged 1 commit into
0x00-sys/advisory-improvement-11397from
0x00-sys-GHSA-fc5q-39xc-vjpf

Conversation

@0x00-sys

Copy link
Copy Markdown

Updates

  • Affected products
  • CVSS v3
  • CVSS v4
  • Severity

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.

Copilot AI adaptive review requested due to automatic review settings November 18, 2026 01:15
@github-actions
github-actions Bot changed the base branch from main to 0x00-sys/advisory-improvement-11397 November 18, 2026 01:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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)

Comment on lines +14 to 15
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
@zinetlb

zinetlb commented Nov 18, 2026

Copy link
Copy Markdown

+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

@advisory-database
advisory-database Bot merged commit 3634df1 into 0x00-sys/advisory-improvement-11397 Nov 18, 2026
6 checks passed
@advisory-database

Copy link
Copy Markdown
Contributor

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!

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.

3 participants