{"id":"CVE-2025-64756","published":"2025-11-17T17:29:08Z","modified":"2025-11-19T02:30:44Z","title":"glob CLI: Command injection via -c/--cmd executes matches with shell:true","vendor":"isaacs","product":"node-glob","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03493,"percentile":0.89435,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f","tags":["x_refsource_MISC"]},{"url":"https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146","tags":["x_refsource_MISC"]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":17.89},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"isaacs","affectedVersions":[{"vendor":"isaacs","product":"node-glob","versions":[">= 10.2.0, < 10.5.0",">= 11.0.0, < 11.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-11-17T18:24:55.363466Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"glob","vulnerableRanges":[">=11.0.0, <11.1.0",">=10.2.0, <10.5.0"],"patched":["11.1.0","10.5.0"],"from":["GHSA-5j98-mcp5-4vw2"],"provenance":"source"}],"summary":{"text":"The glob CLI in the node-glob product (vendor isaacs) has a command injection flaw in its -c/--cmd option, which passes matched filenames to a shell with shell: true, so shell metacharacters in filenames are interpreted. An attacker who can create files with malicious names that match a glob -c invocation can run arbitrary commands with the privileges of the user or CI account, which requires that such a file be present for the matching command to process and that the affected versions (10.2.0 up to but not including 10.5.0, and 11.1.0 cannot be used as a fix for 10.x) be in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:07Z"},"euvd":{"id":"EUVD-2025-197818","exploited":false,"provenance":"source"}}