CVE-2025-64756
Description
Glob 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.
How to fix
- isaacs glob10.5.0, 11.1.0 or later
- glob11.1.0, 10.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| isaacs glob | 10.2.0 ≤ v < 10.5.0, 11.0.0 ≤ v < 11.1.0 | 10.5.0, 11.1.0 |
| globnpm | 11.0.0 ≤ v < 11.1.0, 10.2.0 ≤ v < 10.5.0 | 11.1.0, 10.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.