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

CVE-2026-55700: pnpm: `stage download` writes outside its destination directory via manifest name/version traversal

June 26, 2026

The staged-tarball filename traversal reported as GHSA-v23m-ccfg-pq9h / CAND-PNPM-038 is fixed on main by pnpm/pnpm#12303, merged as 65443f4bdf1f0db9c8c7dc58fee25252607e9234.

Before the fix, pnpm stage download derived a local filename from registry-controlled package name and version fields. A crafted manifest could escape the selected download directory and overwrite another reachable file. The merged fix validates both fields, derives one safe filename, and verifies the final destination before writing.

References

  • github.com/advisories/GHSA-v23m-ccfg-pq9h
  • github.com/pnpm/pnpm/pull/12303
  • github.com/pnpm/pnpm/security/advisories/GHSA-v23m-ccfg-pq9h
  • nvd.nist.gov/vuln/detail/CVE-2026-55700

Code Behaviors & Features

Detect and mitigate CVE-2026-55700 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 starting from 11.3.0 before 11.5.3

Fixed versions

  • 11.5.3

Solution

Upgrade to version 11.5.3 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

npm/pnpm/CVE-2026-55700.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 21 Jul 2026 00:17:47 +0000.