7.5
HIGH CVSS 3.1
CVE-2025-64756
glob CLI: Command injection via -c/--cmd executes matches with shell:true
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.

INFO

Published Date :

Nov. 17, 2025, 6:15 p.m.

Last Modified :

Dec. 2, 2025, 7:34 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-64756 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Isaacs glob
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH MITRE-CVE
Solution
Update glob to version 11.1.0 or later to fix command injection.
  • Update glob to the latest version.
  • Avoid using the -c/--cmd option.
  • Sanitize filenames processed by glob.
Public PoC/Exploit Available at Github

CVE-2025-64756 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-64756.

URL Resource
https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f Patch
https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146 Patch
https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2 Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-64756 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile JavaScript HTML TypeScript CSS

Updated: 5 days, 2 hours ago
0 stars 0 fork 0 watcher
Born at : Dec. 5, 2025, 4:59 p.m. This repo has been linked 3 different CVEs too.

None

JavaScript TypeScript Dockerfile HTML Shell PowerShell Smarty

Updated: 2 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : Nov. 11, 2025, 10:14 p.m. This repo has been linked 2 different CVEs too.

ServiceNow MCP Server v2.1 - Multi-Instance Intelligent Architecture

JavaScript Shell CSS HTML Dockerfile

Updated: 3 weeks ago
9 stars 2 fork 2 watcher
Born at : Sept. 30, 2025, 1:56 p.m. This repo has been linked 1 different CVEs too.

Chrome browser extension to add torrents to various remote torrent clients (qBittorrent, Transmission, Deluge, etc.) via their WebUI.

JavaScript HTML CSS

Updated: 3 weeks ago
19 stars 9 fork 9 watcher
Born at : May 16, 2025, 2:11 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-64756 vulnerability anywhere in the article.

  • The Register
Weaponized file name flaw makes updating glob an urgent job

Infosec In Brief Researchers have urged users of the glob file pattern matching library to update their installations, after discovery of a years-old remote code execution flaw in the tool's CLI. Glob ... Read more

Published Date: Nov 23, 2025 (2 weeks, 3 days ago)
  • The Hacker News
ThreatsDay Bulletin: 0-Days, LinkedIn Spies, Crypto Crimes, IoT Flaws and New Malware Waves

Nov 20, 2025Ravie LakshmananCybersecurity / Hacking News This week has been crazy in the world of hacking and online security. From Thailand to London to the US, we've seen arrests, spies at work, a ... Read more

Published Date: Nov 20, 2025 (2 weeks, 6 days ago)

The following table lists the changes that have been made to the CVE-2025-64756 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Dec. 02, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:isaacs:glob:*:*:*:*:*:node.js:*:* versions from (including) 10.2.0 up to (excluding) 10.5.0 *cpe:2.3:a:isaacs:glob:*:*:*:*:*:node.js:*:* versions from (including) 11.0.0 up to (excluding) 11.1.0
    Added Reference Type GitHub, Inc.: https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2 Types: Exploit, Vendor Advisory
  • CVE Modified by [email protected]

    Nov. 19, 2025

    Action Type Old Value New Value
    Changed Description Glob matches files using patterns the shell uses. Starting in version 10.3.7 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. 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.
  • CVE Modified by [email protected]

    Nov. 18, 2025

    Action Type Old Value New Value
    Changed Description Glob matches files using patterns the shell uses. From versions 10.3.7 to 11.0.3, 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 version 11.1.0. Glob matches files using patterns the shell uses. Starting in version 10.3.7 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.
    Added Reference https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f
  • New CVE Received by [email protected]

    Nov. 17, 2025

    Action Type Old Value New Value
    Added Description Glob matches files using patterns the shell uses. From versions 10.3.7 to 11.0.3, 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 version 11.1.0.
    Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-78
    Added Reference https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146
    Added Reference https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact