CVE-2026-26974: Fast Glob Unanchored Recursive Glob Rce

fast-glob is invoked with an unanchored recursive glob pattern (a string literal starting with "**/") and no `ignore` option excluding node_modules. The matched paths may include attacker-controlled files inside node_modules; if those results are later dynamically imported (e.g., a plugin loader), this enables arbitrary code execution (CVE-2026-26974, CWE-82

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-26974-fast-glob-unanchored-recursive-glob-rce --engine opengrep

Description

fast-glob is invoked with an unanchored recursive glob pattern (a string literal starting with "**/") and no `ignore` option excluding node_modules. The matched paths may include attacker-controlled files inside node_modules; if those results are later dynamically imported (e.g., a plugin loader), this enables arbitrary code execution (CVE-2026-26974, CWE-82