Read the docs
TI-2022-05587 Aliases CVE-2022-21191GHSA-vvj3-85vf-fgmw

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

VendorProductAffected versionsFixed inStatusSource
—global-modules-pathbefore 3.0.03.0.0Patch availableCNA
—global-modules-path (npm)before 3.0.03.0.0Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:global-modules-path_project:global-modules-path:*:*:*:*:*:*:*:*before 3.0.0VulnerableGlobal-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 →

ProductStatusPlan or fix
Red Hat Decision Manager 7AffectedNo fix planned: Out of support scope
Red Hat Process Automation 7AffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21191
  2. 2026-10-03 Alias added: GHSA-vvj3-85vf-fgmw

References

Sources