CVE-2025-64756 Details
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.
A command injection vulnerability has been identified in the glob command-line interface (CLI) version 10.3.7 prior to 11.0.3. The issue arises in the '-c/--cmd' option, where matched filenames are passed to a shell with 'shell: true'. This allows shell metacharacters in filenames to trigger command injection, leading to arbitrary code execution under the user's or CI account's privileges. The vulnerability exists only in the CLI component, not in the core glob library API.
Users are advised to upgrade to glob version 11.1.0 or higher. If any glob CLI actions fail after the upgrade, convert commands containing positional arguments to use the '--cmd-arg' or '-g' option instead. As a last resort, the '--shell' option can be used to maintain the 'shell:true' behavior until glob version 12, but ensure that no untrusted content can be encountered in the file path results.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| isaacs glob | >= 10.2.0, < 10.5.0 >= 11.0.0, < 11.1.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Nov 19, 2025 | CVE Modified | [email protected] |
| Nov 18, 2025 | CVE Modified | [email protected] |
| Nov 17, 2025 | New CVE Received | [email protected] |