CVE-2025-64756
glob CLI: Command injection via -c/--cmd executes matches with shell:true
Also known as GHSA-5j98-mcp5-4vw2
Mitigation
- Upgrade glob to one of 11.1.0, 10.5.0 (or later in the same release line).
Who should check
- Projects that depend on npm package glob (>= 11.0.0, < 11.1.0)
- Anyone running isaacs node-glob >= 10.2.0, < 10.5.0; >= 11.0.0, < 11.1.0
Vulnerability facts
- Affected
- glob >= 11.0.0, < 11.1.0
- Fixed in
- 11.1.0, 10.5.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 4.50% chance of exploitation in 30 days (percentile 92, 2026-11-26)
- CWE
- CWE-78
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-64756. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-64756.md Affected: glob >= 11.0.0, < 11.1.0 Fixed in: 11.1.0, 10.5.0 Steps: 1. Search this machine and project for glob (npm), isaacs node-glob: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2025-64756 being exploited?
There is no confirmed exploitation: CVE-2025-64756 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.50% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-64756?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-64756?
glob >= 11.0.0, < 11.1.0.
Is there a fix for CVE-2025-64756?
Yes. Fixed in 11.1.0, 10.5.0. Upgrade glob to one of 11.1.0, 10.5.0 (or later in the same release line).
How do I check if I'm affected by CVE-2025-64756?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.