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

High 7.5 Published Updated

Attackers can execute arbitrary commands via shell metacharacters in filenames when using the glob CLI's command option.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-64756?

CVE-2025-64756 is a high-severity command injection vulnerability in isaacs node-glob, published on 17 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-78

Which versions are affected by CVE-2025-64756?

4 open source packages ship an affected version, including glob. It affects 1 product.

PackageAffectedFixed in
glob npmFrom 10.2.010.5.0
glob npmFrom 10.2.010.5.0
glob npmFrom 11.0.011.1.0
glob npmFrom 11.0.011.1.0
Linux distribution packages (1)
opa openSUSE:TumbleweedAll versions1.11.0-1.1

Products include Isaacs Glob.

How do I fix CVE-2025-64756?

Upgrade glob to a fixed version for your release line: 10.5.0 or 11.1.0.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-64756 being exploited?

There is no known exploitation of CVE-2025-64756 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-64756, CLEANSTART-2026-HY98415, CLEANSTART-2026-TH89899, CLSA-2026-1781830588, CLSA-2026-1781830590, ECHO-840f-d5ce-2603 and 23 more.

Is CVE-2025-64756 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free