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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.49%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-17T17:29:08.029Z
- Modified: 2026-10-07T21:10:00.200Z
- Also known as: GHSA-5j98-mcp5-4vw2
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- isaacs node-glob: >= 10.2.0, < 10.5.0; >= 11.0.0, < 11.1.0
- glob (npm): from 11.0.0 before 11.1.0; from 10.2.0 before 10.5.0
- isaacs glob: from 10.2.0 before 10.5.0; from 11.0.0 before 11.1.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2> (exploit, vendor-advisory, web)
- <https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f> (patch, web)
- <https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64756> (advisory)
- <https://github.com/isaacs/node-glob> (package)

## Sources

- CVE List: [CVE-2025-64756](https://www.cve.org/CVERecord?id=CVE-2025-64756), CVE Terms of Use, modified 2025-11-19
- GitHub Advisory Database: [GHSA-5j98-mcp5-4vw2](https://github.com/advisories/GHSA-5j98-mcp5-4vw2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-64756](https://nvd.nist.gov/vuln/detail/CVE-2025-64756), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-64756 · Whole record: https://cve.day/CVE-2025-64756.json · Rebuilt by cve.day 2026-11-25T22:59:07.730Z
