CVE-2025-64756
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-17

Last updated on: 2025-12-02

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-17
Last Modified
2025-12-02
Generated
2026-05-07
AI Q&A
2025-11-17
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
isaacs glob From 10.2.0 (inc) to 10.5.0 (exc)
isaacs glob From 11.0.0 (inc) to 11.1.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the glob CLI tool versions 10.3.7 to 11.0.3. It involves the -c/--cmd option, which allows arbitrary command execution when processing files with malicious names. Specifically, when using glob -c <command> <patterns>, matched filenames are passed to a shell with shell: true. This means that shell metacharacters in filenames can trigger command injection, allowing an attacker to execute arbitrary code with the privileges of the user or CI account running the command. The issue was fixed in version 11.1.0.


How can this vulnerability impact me? :

This vulnerability can lead to arbitrary code execution on the affected system under the privileges of the user or CI account running the glob command. An attacker could exploit maliciously named files to execute commands, potentially leading to data compromise, system manipulation, or disruption of services. Because the CVSS score is 7.5 with high impact on confidentiality, integrity, and availability, the impact can be severe.


What immediate steps should I take to mitigate this vulnerability?

Upgrade the glob CLI to version 11.1.0 or later, as this version contains the patch that fixes the command injection vulnerability in the -c/--cmd option.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart