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

CVE-2026-55487: pnpm: Manifest identity spoof satisfies allowBuilds and runs attacker lifecycle

June 26, 2026

Keep build approval for opaque dependency sources byte-exact for GHSA-5wx6-mg75-v57r / CAND-PNPM-123.

Merged upstream commit bf1b731ee6 fixed the original name-only approval bypass by making build policy consume the resolved dependency identity. One collision remained: the generic peer-suffix normalizer also stripped parenthesized text from git, URL, tarball, file, and other opaque locators. Approval for one source string could therefore authorize a different attacker-controlled source whose locator normalized to the same value.

References

  • github.com/advisories/GHSA-5wx6-mg75-v57r
  • github.com/pnpm/pnpm/commit/bf1b731ee6c0ea98709e671ff0f46bf654480ab8
  • github.com/pnpm/pnpm/releases/tag/v10.34.2
  • github.com/pnpm/pnpm/releases/tag/v11.5.3
  • github.com/pnpm/pnpm/security/advisories/GHSA-5wx6-mg75-v57r
  • nvd.nist.gov/vuln/detail/CVE-2026-55487

Code Behaviors & Features

Detect and mitigate CVE-2026-55487 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 10.34.2, all versions starting from 11.0.0 before 11.5.3

Fixed versions

  • 10.34.2
  • 11.5.3

Solution

Upgrade to versions 10.34.2, 11.5.3 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error
  • CWE-693: Protection Mechanism Failure
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/pnpm/CVE-2026-55487.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:58 +0000.