Command Injection Vulnerability in Node Glob Affecting Multiple Versions
CVE-2025-64756
7.5HIGH
What is CVE-2025-64756?
The command injection vulnerability in Node Glob allows attackers to exploit the '-c/--cmd' option. When processing files with malicious names, the glob CLI enables arbitrary command execution, as matched filenames are passed to a shell with shell: true. This opens the door for shell metacharacters in filenames to execute unauthorized commands, compromising user or CI account privileges. The issue affects versions 10.3.7 through 11.0.3 and has been addressed with a fix in version 11.1.0.
Affected Version(s)
node-glob >= 10.3.7, < 11.1.0
