VYPR
High severityNVD Advisory· Published Nov 17, 2025· Updated Nov 19, 2025

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

CVE-2025-64756

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
globnpm
>= 11.0.0, < 11.1.011.1.0
globnpm
>= 10.2.0, < 10.5.010.5.0

Affected products

125

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.