cve.bz

CVE-2025-64756 isaacs glob: OS Command Injection

7.5 highExploit referenceEPSS 3.5%Fix available

High (7.5) in isaacs glob. EPSS 3.5% estimated probability of exploitation activity in the next 30 days. Fixed in glob 10.5.0, 11.1.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
3.5% (up from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-11-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-64756 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-64756?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-64756?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-64756 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
isaacs:globfrom 10.2.0 before 10.5.0
isaacs:globfrom 11.0.0 before 11.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5j98-mcp5-4vw2npmglob>=11.0.0 <11.1.011.1.0
GHSA-5j98-mcp5-4vw2npmglob>=10.2.0 <10.5.010.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedopa1.11.0-1.1openSUSE-SU-2025:15775-1
Alpinev3.22npm11.6.4-r0ALPINE-CVE-2025-64756
Alpaquita25, streamnpm11.6.4-r0BELL-CVE-2025-64756
BellSoft Hardened Containers25, streamnpm11.6.4-r0BELL-CVE-2025-64756

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw in glob allows arbitrary command execution when the `glob` command-line interface is used with the `-c/--cmd` option to process files with malicious names. The vulnerability is triggered by shell metacharacters in filenames, leading to command injection. The glob CLI tool utilizes the -c option to execute shell commands over the files which matched the searched pattern by using the shell:true parameter when creating the subprocess which will further execute the command informed via '-c' option, this parameter allows the shell meta characters to be used and processed when executing the command. Given that information glob misses to sanitize the file name to eliminate such characters and expressions from the filename, leading to code execution as when performing the shell expansion such characters will be interpreted as shell commands.

To exploit this vulnerability the targeted system should run the glob CLI over a file with a maliciously crafted filename, additionally the attacker needs to have enough permission to create such file or trick the user to download and process the required file with the glob CLI.

This flaw is present in the command line interface of the nodejs-glob package. When the package is used by npm, the command line interface is not used at all, so it cannot be triggered. However, the command line interface implementation is still present on the system, but not directly exposed to the user's $PATH. To reflect this condition, nodejs packages have been rated with a low severity.

Red Hat's mitigation

To mitigate this issue, avoid using the `glob` command-line interface with the `-c` or `--cmd` option when processing filenames from untrusted sources. If programmatic use of `glob` is necessary, ensure that filenames are thoroughly sanitized before being passed to commands executed with shell interpretation enabled.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1rhceph/grafana-rhel9:1791450715Fixed 2026-10-15RHSA-2026:83548
Red Hat Ceph Storage 8.1rhceph/grafana-rhel9:1777566546Fixed 2026-05-11RHSA-2026:15979
Red Hat Ceph Storage 9.0rhceph/grafana-rhel10:1781018768Fixed 2026-06-16RHSA-2026:26411
Red Hat Developer Hub 1.7rhdh/rhdh-hub-rhel9:1.7.4-1767715042Fixed 2026-01-07RHSA-2026:0261
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1768247401Fixed 2026-01-13RHSA-2026:0531
Red Hat Discovery 2discovery/discovery-ui-rhel9:1767904573Fixed 2026-01-08RHSA-2026:0414
Red Hat OpenShift AI 2.25rhoai/odh-feature-server-rhel9:v2.25.1-1765354568Fixed 2025-12-17RHSA-2025:23531
Red Hat OpenShift AI 2.25rhoai/odh-ml-pipelines-runtime-generic-rhel9:v2.25.1-1765800326Fixed 2025-12-17RHSA-2025:23531
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:v2.25.1-1764961121Fixed 2025-12-17RHSA-2025:23531
Red Hat OpenShift AI 2.25rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9:v2.25.1-1764961121Fixed 2025-12-17RHSA-2025:23531
Cryostat 4io.cryostat-cryostatNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Not affected
266 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-64756.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-071-03Siemens SIDIS Prime2026-03-10Critical ManufacturingSIDIS Primenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON