CVE-2022-26183
HIGH 8.8CVSS 3.1Untrusted Search Path in PNPM
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.
- Published
- 21 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-426
- Also known as
- GHSA-9m87-6fj3-c5xh
- Sources
- NVDJSONOSV GHSA-9m87-6fj3-c5xhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
< 6.15.1 | 6.15.1 |
| OSV | npm | pnpm | < 6.15.1 | 6.15.1 |
References
- https://github.com/pnpm/pnpm/commit/04b7f60861ddee8331e50d70e193d1e701abeefb · Patch, WEB
- https://github.com/pnpm/pnpm/releases/tag/v6.15.1 · Release Notes, WEB
- https://www.sonarsource.com/blog/securing-developer-tools-package-managers/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-26183 · ADVISORY
- https://github.com/pnpm/pnpm · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 Mar 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 Mar 2022)