CVE-2022-21191: Global-Modules-Path Project Global-Modules-Path
Critical severity, CVSS 9.8. EPSS: 1.5% chance of exploitation in the next 30 days.
Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the getPath function.
Affected products
- Global-Modules-Path Project Global-Modules-Path: before 3.0.0 (fixed in 3.0.0)
Published 2023-01-13. Last modified 2026-06-17.