CVE-2025-64756

NameCVE-2025-64756
DescriptionGlob 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-glob (PTS)bullseye7.1.6+~7.1.3-1fixed
bookworm8.0.3+~cs8.4.15-1fixed
forky, trixie8.1.0+~cs8.5.15-1fixed
sid10.3.6+~cs0.4.15-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-globsource(unstable)(not affected)

Notes

- node-glob <not-affected> (Vulnerable code not present)
https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2
Fixed by: https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146 (v11.1.0)

Search for package or bug name: Reporting problems