/
DirectorySecurity AdvisoriesPricing
Sign in
Security Advisories

CVE-2025-64756

Published

Last updated

NVD

https://nvd.nist.gov/vuln/detail/CVE-2025-64756

Severity

7.5

High

CVSS V3

Summary

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

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 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.

References

Affected packages


The trusted source for open source

Talk to an expert
© 2025 Chainguard. All Rights Reserved.
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsIntegrationsPricing