CVE 7.5 HIGH

glob CLI: Command injection via -c/–cmd executes matches with shell:true_CVE-2025-64756

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2025-64756
Source GitHub_M
Published Nov 17, 2025 at 17:29

Affected Product

Vendor isaacs
Product node-glob
Version >= 10.3.7, < 11.1.0
Affected Versions isaacs node-glob >= 10.3.7, < 11.1.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.