---
id: CVE-2025-64756
title: Glob matches files using patterns the shell uses
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: isaacs
product: glob
affected:
  - 'glob >= 10.2.0, < 10.5.0'
  - 'glob >= 11.0.0, < 11.1.0'
patched:
  - glob 11.1.0
published: '2025-11-17'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-64756'
references:
  - url: >-
      https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f
    label: security-advisories@github.com
  - url: >-
      https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146
    label: security-advisories@github.com
  - url: >-
      https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64756.json
  - url: 'https://access.redhat.com/security/cve/CVE-2025-64756'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2415451'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2025-64756'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-64756'
  - url: 'https://access.redhat.com/errata/RHSA-2026:15979'
  - url: 'https://access.redhat.com/errata/RHSA-2026:26411'
  - url: 'https://access.redhat.com/errata/RHSA-2026:0261'
  - url: 'https://access.redhat.com/errata/RHSA-2026:0531'
  - url: 'https://access.redhat.com/errata/RHSA-2026:0414'
  - url: 'https://access.redhat.com/errata/RHSA-2025:23531'
  - url: 'https://access.redhat.com/errata/RHSA-2026:19712'
  - url: 'https://access.redhat.com/errata/RHSA-2026:3713'
  - url: 'https://access.redhat.com/errata/RHSA-2026:2456'
  - url: 'https://access.redhat.com/errata/RHSA-2026:6192'
  - url: 'https://access.redhat.com/errata/RHSA-2025:22905'
  - url: 'https://access.redhat.com/errata/RHSA-2025:22936'
  - url: 'https://access.redhat.com/errata/RHSA-2025:22937'
  - url: 'https://access.redhat.com/errata/RHSA-2025:22938'
  - url: 'https://access.redhat.com/errata/RHSA-2025:22941'
  - url: 'https://access.redhat.com/errata/RHSA-2026:2926'
  - url: 'https://access.redhat.com/errata/RHSA-2026:2925'
  - url: 'https://access.redhat.com/errata/RHSA-2026:2144'
  - url: 'https://access.redhat.com/errata/RHSA-2026:2139'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.0309
epssPercentile: 0.87648
ingestedAt: '2026-10-07T21:54:15.064Z'
---

## Overview

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.

## Affected

- `glob >= 10.2.0, < 10.5.0`
- `glob >= 11.0.0, < 11.1.0`

## Remediation

Upgrade past the affected range:

- `glob 11.1.0`

## Vendor advisories

- **RHSA-2026:15979** · Red Hat · fixed in: Red Hat Ceph Storage 8.1 · released 2026-05-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:15979)
- **RHSA-2026:26411** · Red Hat · fixed in: Red Hat Ceph Storage 9.0 · released 2026-06-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:26411)
- **RHSA-2026:0261** · Red Hat · fixed in: Red Hat Developer Hub 1.7 · released 2026-01-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:0261)
- **RHSA-2026:0531** · Red Hat · fixed in: Red Hat Developer Hub 1.8 · released 2026-01-13 · [advisory](https://access.redhat.com/errata/RHSA-2026:0531)
- **RHSA-2026:0414** · Red Hat · fixed in: Red Hat Discovery 2 · released 2026-01-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:0414)
- **RHSA-2025:23531** · Red Hat · fixed in: Red Hat OpenShift AI 2.25 · released 2025-12-17 · [advisory](https://access.redhat.com/errata/RHSA-2025:23531)
- **RHSA-2026:19712** · Red Hat · fixed in: Red Hat OpenShift AI 3.3 · released 2026-05-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:19712)
- **RHSA-2026:3713** · Red Hat · fixed in: Red Hat OpenShift AI 3.3 · released 2026-03-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:3713)
- **RHSA-2026:2456** · Red Hat · fixed in: Red Hat OpenShift Dev Spaces (RHOSDS) 3.26 · released 2026-02-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:2456)
- **RHSA-2026:6192** · Red Hat · fixed in: Red Hat OpenShift Dev Spaces 3.27 · released 2026-03-30 · [advisory](https://access.redhat.com/errata/RHSA-2026:6192)
- **RHSA-2025:22905** · Red Hat · fixed in: Red Hat OpenShift Pipelines 1.19 · released 2025-12-09 · [advisory](https://access.redhat.com/errata/RHSA-2025:22905)
- **Red Hat VEX** · Important · affected: Logging Subsystem for Red Hat OpenShift, OpenShift Pipelines, OpenShift Serverless, Red Hat Advanced Cluster Management for Kubernetes 2, Red Hat Ceph Storage 7, Red Hat Ceph Storage 9, … · no fix planned: Logging Subsystem for Red Hat OpenShift, OpenShift Pipelines, OpenShift Serverless, Red Hat Enterprise Linux AI (RHEL AI) 3, … · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-64756.json)
