OS command injection in global-modules-path
Priority MEDIUM 46CWE-78Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01545 75th percentileScored 2026-11-07
Fix Partial global-modules-path: 3.0.0global-modules-path (npm): 3.0.0Red Hat: 2 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | global-modules-path | before 3.0.0 | 3.0.0 | Patch available | CNA |
| — | global-modules-path (npm) | before 3.0.0 | 3.0.0 | Patch available | GHSA-vvj3-85vf-fgmw |
- global-modules-path Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available CNA
- global-modules-path (npm) Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available GHSA-vvj3-85vf-fgmw
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:* | before 3.0.0 | Vulnerable | Global-modules-path Project |
- cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:* Versions before 3.0.0 Vulnerable ·Global-modules-path Project
Remediation
- Fix · CNA global-modules-path Fixed in 3.0.0
- Fix · GHSA-vvj3-85vf-fgmw global-modules-path (npm) Fixed in 3.0.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Decision Manager 7 | Affected | No fix planned: Out of support scope |
| Red Hat Process Automation 7 | Affected | No fix planned: Out of support scope |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-21191
- 2026-10-03 Alias added: GHSA-vvj3-85vf-fgmw
References
Advisory 3
Sources
- CVE-2022-21191 · CVE Program
- CVE-2022-21191 · NVD
- FIRST EPSS
- GHSA-vvj3-85vf-fgmw · GitHub Advisory Database · CC BY 4.0
- CVE-2022-21191 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences