# CVE-2025-64756: glob CLI: Command injection via -c/--cmd executes matches with shell:true

> CVE-2025-64756: glob CLI: Command injection via -c/--cmd executes matches with shell:true. CVSS 7.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-64756
Last updated: 2026-10-07T21:10:00Z

- Published: 2025-11-17 17:29 UTC · Updated: 2026-10-07 21:10 UTC · Assigner: GitHub\_M
- CVSS: 7.5 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.1%, 88th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-78

## 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 vendors and products

- isaacs: node-glob

## Tracked companies

- [Confluence](https://rewindex.com/company/confluence.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-64756)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-64756)
- [https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f](https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f)
- [https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146](https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146)
- [https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2](https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-64756 · Markdown: https://rewindex.com/cve/CVE-2025-64756.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-64756 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:56.814Z
