p PatchFirst

PatchFirst · Latest vulnerabilities

pnpm vulnerabilities · Page 2

Vulnerability published for pnpm in the last 30 days: 1. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 32

  1. CVE-2026-24131

    Medium · CVSS 6.7EPSS 0.27%Fix available

    pnpm has Path Traversal via arbitrary file permission modification

    pnpm is a package manager. Prior to version 10.28.2, when pnpm processes a package's `directories.bin` field, it uses `path.join()` without validating the result stays within the package root. A malicious npm package can specify `"directories": {"bin": "../../../../tmp"}` to escape the package directory, causing pnpm to chmod 755 files at arbitrary locations. This issue only affects Unix/Linux/macOS. Windows is not affected (`fixBin` gated by `EXECUTABLE_SHEBANG_SUPPORTED`). Version 10.28.2 contains a patch.

    • Update to 10.28.2
    Published Updated
  2. CVE-2026-24056

    Medium · CVSS 6.7EPSS 0.52%Fix available

    pnpm has symlink traversal in file:/git dependencies

    pnpm is a package manager. Prior to version 10.28.2, when pnpm installs a `file:` (directory) or `git:` dependency, it follows symlinks and reads their target contents without constraining them to the package root. A malicious package containing a symlink to an absolute path (e.g., `/etc/passwd`, `~/.ssh/id_rsa`) causes pnpm to copy that file's contents into `node_modules`, leaking local data. The vulnerability only affects `file:` and `git:` dependencies. Registry packages (npm) have symlinks stripped during publish and are NOT affected. The issue impacts developers installing local/file dependencies andCI/CD pipelines installing git depende

    • Update to 10.28.2
    Published Updated
  3. CVE-2026-23890

    Medium · CVSS 6.5EPSS 0.5%Fix available

    pnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.bin

    pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's bin linking allows malicious npm packages to create executable shims or symlinks outside of `node_modules/.bin`. Bin names starting with `@` bypass validation, and after scope normalization, path traversal sequences like `../../` remain intact. This issue affects all pnpm users who install npm packages and CI/CD pipelines using pnpm. It can lead to overwriting config files, scripts, or other sensitive files. Version 10.28.1 contains a patch.

    • Update to 10.28.1
    Published Updated
  4. CVE-2026-23889

    Medium · CVSS 6.5EPSS 0.48%Fix available

    pnpm has Windows-specific tarball Path Traversal

    pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's tarball extraction allows malicious packages to write files outside the package directory on Windows. The path normalization only checks for `./` but not `.\`. On Windows, backslashes are directory separators, enabling path traversal. This vulnerability is Windows-only. This issue impacts Windows pnpm users and Windows CI/CD pipelines (GitHub Actions Windows runners, Azure DevOps). It can lead to overwriting `.npmrc`, build configs, or other files. Version 10.28.1 contains a patch.

    • Update to 10.28.1
    Published Updated
  5. CVE-2026-23888

    Medium · CVSS 6.5EPSS 0.45%Fix available

    pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)

    pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's binary fetcher allows malicious packages to write files outside the intended extraction directory. The vulnerability has two attack vectors: (1) Malicious ZIP entries containing `../` or absolute paths that escape the extraction root via AdmZip's `extractAllTo`, and (2) The `BinaryResolution.prefix` field is concatenated into the extraction path without validation, allowing a crafted prefix like `../../evil` to redirect extracted files outside `targetDir`. The issue impacts all pnpm users who install packages with binary assets, users who configure c

    • Update to 10.28.1
    Published Updated
  6. CVE-2025-69262

    High · CVSS 7.6EPSS 1.04%Fix available

    pnpm vulnerable to Command Injection via environment variable substitution

    pnpm is a package manager. Versions 6.25.0 through 10.26.2 have a Command Injection vulnerability when using environment variable substitution in .npmrc configuration files with tokenHelper settings. An attacker who can control environment variables during pnpm operations could achieve Remote Code Execution (RCE) in build environments. This issue is fixed in version 10.27.0.

    • Update to 10.27.0
    Published Updated
  7. CVE-2025-69264

    High · CVSS 8.8EPSS 1.01%Fix available

    pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"

    pnpm is a package manager. Versions 10.0.0 through 10.25 allow git-hosted dependencies to execute arbitrary code during pnpm install, circumventing the v10 security feature "Dependency lifecycle scripts execution disabled by default". While pnpm v10 blocks postinstall scripts via the onlyBuiltDependencies mechanism, git dependencies can still execute prepare, prepublish, and prepack scripts during the fetch phase, enabling remote code execution without user consent or approval. This issue is fixed in version 10.26.0.

    • Update to 10.26.0
    Published Updated
  8. CVE-2025-69263

    High · CVSS 7.5EPSS 0.47%Fix available

    pnpm Lockfile Integrity Bypass Allows Remote Dynamic Dependencies

    pnpm is a package manager. Versions 10.26.2 and below store HTTP tarball dependencies (and git-hosted tarballs) in the lockfile without integrity hashes. This allows the remote server to serve different content on each install, even when a lockfile is committed. An attacker who publishes a package with an HTTP tarball dependency can serve different code to different users or CI/CD environments. The attack requires the victim to install a package that has an HTTP/git tarball in its dependency tree. The victim's lockfile provides no protection. This issue is fixed in version 10.26.0.

    • Update to 10.26.0
    Published Updated
  9. CVE-2024-47829

    Medium · CVSS 6.5EPSS 0.24%Fix available

    pnpm uses the md5 path shortening function causes packet paths to coincide, which causes indirect packet overwriting

    pnpm is a package manager. Prior to version 10.0.0, the path shortening function uses the md5 function as a path shortening compression function, and if a collision occurs, it will result in the same storage path for two different libraries. Although the real names are under the package name /node_modoules/, there are no version numbers for the libraries they refer to. This issue has been patched in version 10.0.0.

    • Update to 10.0.0
    Published Updated
  10. CVE-2024-53866

    Medium · CVSS 5.8EPSS 0.98%Fix available

    pnpm vulnerable to no-script global cache poisoning via overrides / `ignore-scripts` evasion

    The package manager pnpm prior to version 9.15.0 seems to mishandle overrides and global cache: Overrides from one workspace leak into npm metadata saved in global cache; npm metadata from global cache affects other workspaces; and installs by default don't revalidate the data (including on first lockfile generation). This can make workspace A (even running with `ignore-scripts=true`) posion global cache and execute scripts in workspace B. Users generally expect `ignore-scripts` to be sufficient to prevent immediate code execution on install (e.g. when the tree is just repacked/bundled without executing it). Here, that expectation is broken.

    • Update to 9.15.0
    Published Updated
  11. CVE-2023-37478

    High · CVSS 7.5EPSS 1.2%Fix available

    pnpm incorrectly parses tar archives relative to specification

    pnpm is a package manager. It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives. This can result in a package that appears safe on the npm registry or when installed via npm being replaced with a compromised or malicious version when installed via pnpm. This issue has been patched in version(s) 7.33.4 and 8.6.8.

    • Update to 7.33.4
    • Update to 8.6.8
    Published Updated
  12. CVE-2022-26183

    High · CVSS 8.8EPSS 1.59%Fix available

    CVE-2022-26183

    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.

    • Update to 6.15.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →