CVE Catalog

CVE-2025-64756

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
3.09%

87th percentile - higher than 87% of all known CVEs

Summary

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.

Risk Assessment

The risk for the organization is arbitrary command execution in the context of the user or CI account, which could lead to system integrity compromise or data theft. The attack requires processing files with malicious names.

Recommendation

It is recommended to immediately upgrade glob to version 10.5.0 or 11.1.0. Also, avoid using the -c/--cmd option with untrusted file patterns.

Other vulnerabilities in glob

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS