CVE-2025-64756glob CLI: Command injection via -c/--cmd executes matches with shell:true
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.
What to do
Fixed builds are available from Alpine, npm: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | node-glob | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | node-glob | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | node-glob | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pcs | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-lib389 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | js-uglify | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | uglify-js | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Fix pending Fix deferred | ||
| Alpine Linux 3.22 | npm | Fixed | 11.6.4-r0 | ALPINE-CVE-2025-64756 |
| npm library | glob | Fixed | 10.5.0 | GHSA-5j98-mcp5-4vw2 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- isaacs node-glob: affected: >= 10.2.0, < 10.5.0, >= 11.0.0, < 11.1.0
References
- https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2
- https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f
- https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.