{"id":"CVE-2022-21191","aliases":["GHSA-vvj3-85vf-fgmw"],"url":"https://o3.security/vulnerability/CVE-2022-21191","summary":"global-modules-path Command Injection vulnerability","details":"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.\r\r","published":"2023-01-13T05:00:01.119Z","modified":"2026-07-15T01:49:11.823985688Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"global-modules-path","fixedVersion":"3.0.0"}],"fix":{"url":"https://github.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b1469923c06bbccad3c180","label":"rosen-vladimirov/global-modules-path@edbdaff"},"references":[{"type":"WEB","url":"https://github.com/lorenzomigliorero/npm-node-utils/blob/b55dd81c597db657c9751332bb2242403fd3e26b/index.js%23L186"},{"type":"WEB","url":"https://github.com/rosen-vladimirov/global-modules-path/releases/tag/v3.0.0"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-GLOBALMODULESPATH-3167973"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21191.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21191"},{"type":"FIX","url":"https://github.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b1469923c06bbccad3c180"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:11.823985688Z"}}