Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. pnpm
  4. ›
  5. CVE-2022-26183

CVE-2022-26183: Untrusted Search Path

March 21, 2022 (updated November 9, 2023)

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.

References

  • github.com/advisories/GHSA-9m87-6fj3-c5xh
  • github.com/pnpm/pnpm/commit/04b7f60861ddee8331e50d70e193d1e701abeefb
  • github.com/pnpm/pnpm/releases/tag/v6.15.1
  • nvd.nist.gov/vuln/detail/CVE-2022-26183

Code Behaviors & Features

Detect and mitigate CVE-2022-26183 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.15.1

Fixed versions

  • 6.15.1

Solution

Upgrade to version 6.15.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-426: Untrusted Search Path

Source file

npm/pnpm/CVE-2022-26183.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:57 +0000.