Isaacs Node Glob vulnerabilities

4 vulnerabilities

Known vulnerabilities in Isaacs Node Glob, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-144291isaacs · node-glob +1 moreGlob: Absolute `ignore` pattern silently bypassed when `root`/`cwd` path contains bracesGlob matches files using patterns the shell uses. Prior to 14.0.6, the glob ignore option composes absolute ignore patterns by inserting an escaped root/cwd path into a new glob string in src/ignore.ts, but the escape operation does not preserve braces as literal characters. When an affected application uses an absolute ignore rule and processes a brace-containing root/cwd path, the path is brace-expanded during re-parsing, the ignore matcher no longer matches the real literal path, and files intended to be excluded can be returned to the caller. This issue is fixed in version 14.0.6.CVSS6.3MediumEPSS0.90%RoutineCVE-2026-137196isaacs · node-glob +43 moreGlob : `ignore` patterns lack the braceExpandMax limit applied to `pattern`Glob matches files using patterns the shell uses. From 13.0.5 until 14.0.6, the Ignore class in src/ignore.ts does not pass braceExpandMax to minimatch while using optimizationLevel: 2, so attacker-influenced ignore patterns can amplify into more globparts than the regular pattern path permits and cause quadratic work in secondPhasePreProcess(). Applications that accept untrusted ignore patterns can therefore experience disproportionate event-loop CPU consumption and denial of service. This issue is fixed in version 14.0.6.CVSS6.3MediumEPSS0.83%RoutineCVE-2026-118773isaacs · node-glob +56 moreGlob: AbortSignal cancellation bypass allows post-timeout filesystem traversalGlob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.CVSS6.3MediumEPSS0.46%PrioritiseCVE-2025-64756isaacs · node-glob +138 moreglob CLI: Command injection via -c/--cmd executes matches with shell:trueGlob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution when processing files with malicious names. When glob -c <command> <patterns> are used, matched filenames are passed to a shell with shell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges. This issue has been patched in versions 10.5.0 and 11.1.0.CVSS7.5HighEPSS3.49%