CVE-2025-64756

Published: December 2, 2025Last modified: December 8, 2025

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

Severity score breakdown

ParameterValue
Base score7.5
Attack VectorNETWORK
Attack complexityHIGH
Privileges requiredLOW
User interactionNONE
ScopeUNCHANGED
ConfidentialityHIGH
Integrity impactHIGH
Availability impactHIGH
VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Notes

In Alpaquita 23 LTS we ship NPM 9.1.2 which goes with node-glob 8.0.3. Node-glob 8.0.3 does not have a CLI interface.

Status

ProductReleasePackageStatus
Alpaquita Linux23 LTSnpmNot affected (9.1.2-r0)
25 LTSnpmFixed (11.6.4-r0)
StreamnpmFixed (11.6.4-r0)

References

ON THIS PAGE