CVE-2025-64756
BaseFortify
Publication date: 2025-11-17
Last updated on: 2025-12-02
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.