Quick answers
- Is CVE-2025-64756 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-64756 being exploited in the wild.
- How severe is CVE-2025-64756?
- High severity, with a CVSS score of 7.5, published 17 November 2025.
- Which products and versions are affected?
- glob (npm) SEMVER:introduced=11.0.0,fixed=11.1.0.
- Is there a fix for CVE-2025-64756?
- Yes. glob (npm): upgrade to 11.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-64756 attacked?
- It is attacked over the network or with local access, in a software library.
- Am I affected by CVE-2025-64756?
- Check whether you run glob (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- glob (npm): upgrade to 11.1.0 or later
npm install glob@11.1.0
Technical details
The vulnerability is an OS command injection (CWE-78) in src/bin.mts:277 where the CLI collects glob matches and executes the supplied command using foregroundChild() with shell:true. When glob -c <command> <pattern> is executed, matched filenames are collected into an array and passed directly to a shell interpreter. Attackers can create files with shell metacharacters in their names (e.g., $(malicious_command)) to trigger arbitrary command execution. The vulnerability requires the attacker to control filenames in a directory being processed by glob -c, and is primarily exploitable on POSIX systems due to flexible filename character restrictions. The core glob library API is not affected, only the CLI with the -c/--cmd option. Patches are available in versions 10.5.0, 11.1.0, and 12.0.0; users can upgrade or use the safe --cmd-arg/-g option to pass filenames without shell expansion.
Affected products
- isaacs glob >=10.2.0 <10.5.0 || 11.0.x
Identifiers
- CVE-2025-64756
- GHSA-5j98-mcp5-4vw2
Timeline
- 2025-11-17: disclosed: GHSA-5j98-mcp5-4vw2 published
- 2025-11-17: patched: Patches released in versions 10.5.0, 11.1.0, and 12.0.0