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

CVE-2026-50573: pnpm: Unsafe default behavior breaks integrity check

June 26, 2026

pnpm install in non-frozen mode can accept new remote package content after detecting that the downloaded tarball does not match the integrity recorded in pnpm-lock.yaml.

When a package is already locked with an integrity value, and the registry later serves different metadata and tarball content for the same package name and version, pnpm initially reports an integrity mismatch. However, plain pnpm install then performs a resolution repair, accepts the registry’s new integrity, updates the lockfile, installs the new content, and exits successfully.

This means the lockfile integrity check does not act as a hard stop by default.

References

  • github.com/advisories/GHSA-54hh-g5mx-jqcp
  • github.com/pnpm/pnpm/security/advisories/GHSA-54hh-g5mx-jqcp
  • nvd.nist.gov/vuln/detail/CVE-2026-50573

Code Behaviors & Features

Detect and mitigate CVE-2026-50573 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.0, all versions starting from 11.0.0 before 11.4.0

Fixed versions

  • 10.34.0
  • 11.4.0

Solution

Upgrade to versions 10.34.0, 11.4.0 or above.

Impact 6.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/pnpm/CVE-2026-50573.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 11 Jul 2026 12:17:48 +0000.