CVE-2025-64756 HIGH

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

Vendor Isaacs
Product node-glob
Weakness CWE-78
Published November 17, 2025
Last update November 19, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 17, 2025 CVE published
November 19, 2025 Record updated

Related vulnerabilities

04Related CVE