{"id":"CVE-2022-26183","aliases":["EUVD-2022-1397","GHSA-9m87-6fj3-c5xh"],"status":"published","title":"Untrusted Search Path in PNPM","description":"PNPM v6.15.1 and below was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute PNPM commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01594,"percentile":0.75921,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-426"],"published":"2022-03-21T00:00:00Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"npm","package":"pnpm","fixed_in":["6.15.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"pnpm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.15.1"}]}]},{"source":"osv","ecosystem":"npm","package":"pnpm","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.15.1"}]}]}],"products":[{"vendor":"pnpm","product":"pnpm"}],"references":[{"url":"https://github.com/pnpm/pnpm/commit/04b7f60861ddee8331e50d70e193d1e701abeefb","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/pnpm/pnpm/releases/tag/v6.15.1","tags":["x_transferred","Release Notes","web"]},{"url":"https://www.sonarsource.com/blog/securing-developer-tools-package-managers/","tags":["x_transferred","Exploit","Third Party Advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26183","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9m87-6fj3-c5xh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26183.json","tags":["advisory"]},{"url":"https://github.com/pnpm/pnpm","tags":["package"]},{"url":"https://www.sonarsource.com/blog/securing-developer-tools-package-managers","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-26183","description":"PNPM v6.15.1 and below was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute PNPM commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.","status":"published","published":"2022-03-21T00:00:00Z","modified":"2024-08-03T04:56:37.938Z","updated_at":"2026-11-02T14:34:25.954329Z"}],"euvd":[{"id":"EUVD-2022-1397","description":"PNPM v6.15.1 and below was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute PNPM commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.","status":"published","published":"2022-03-21T00:00:00Z","modified":"2024-08-03T04:56:37Z","updated_at":"2026-11-03T03:25:45.890215Z"}],"ghsa":[{"id":"GHSA-9m87-6fj3-c5xh","title":"Untrusted Search Path in PNPM","description":"PNPM prior to v6.15.1 was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute PNPM commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.","status":"published","published":"2022-03-23T00:00:24Z","modified":"2023-10-31T21:27:42Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:37:11.48574Z"}],"nvd":[{"id":"CVE-2022-26183","description":"PNPM v6.15.1 and below was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute PNPM commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.","status":"published","published":"2022-03-21T22:15:07.987Z","modified":"2026-06-17T04:34:48.66Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T14:07:14.24948Z"}],"osv":[{"id":"GHSA-9m87-6fj3-c5xh","title":"Untrusted Search Path in PNPM","description":"PNPM prior to v6.15.1 was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute PNPM commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.","status":"published","published":"2022-03-23T00:00:24Z","modified":"2023-11-08T04:08:53.432649Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-426"],"updated_at":"2026-11-02T15:46:43.875515Z"},{"id":"CVE-2022-26183","description":"PNPM v6.15.1 and below was discovered to contain an untrusted search path which causes the application to behave in unexpected ways when users execute PNPM commands in a directory containing malicious content. This vulnerability occurs when the application is ran on Windows OS.","status":"published","published":"2022-03-21T00:00:00Z","modified":"2026-10-28T02:31:08.148444178Z","updated_at":"2026-11-02T15:44:24.758293Z"}]}}
