# CVE-2026-50573: pnpm insufficient verification of data authenticity in non-frozen install

Source: https://junglewise.ai/threats/cve-2026-50573-pnpm-insufficient-verification-of-data-authenticity-in-non-frozen  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-25. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-50573 · Severity: medium · CVSS 6.8 · Published 2026-06-25

pnpm is a package manager used to install JavaScript dependencies for Node.js projects. In its default configuration, when installing packages, pnpm may accept and install modified package content from a registry even when it detects that the downloaded file doesn't match the integrity hash recorded in the project's lockfile. On a fresh development environment or new team member setup, this could allow a compromised package registry or attacker to inject malicious code into the build without the developer noticing, because pnpm silently updates the lockfile and exits successfully despite detecting the mismatch.

Technologies: [pnpm (npm)](https://junglewise.ai/threats/technologies/pnpm). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-50573 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-50573 being exploited in the wild.

**How severe is CVE-2026-50573?** Medium severity, with a CVSS score of 6.8, published 25 June 2026.

**Which products and versions are affected?** pnpm (npm) SEMVER:introduced=0,fixed=10.34.0.

**Is there a fix for CVE-2026-50573?** Yes. pnpm (npm): upgrade to 10.34.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-50573 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-50573?** Check whether you run pnpm (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pnpm (npm): upgrade to 10.34.0 or later

  ```sh
  npm install pnpm@10.34.0
  ```


## Technical details

The vulnerability exists in pnpm's non-frozen install mode (the default behavior). When pnpm detects a tarball integrity mismatch between the downloaded package and the locked integrity in pnpm-lock.yaml, it performs automatic "resolution repair" instead of failing. This causes pnpm to accept the registry's new content, update the lockfile to trust the new integrity, and install the modified package while exiting with success code 0. The vulnerability class is insufficient data authenticity verification (CWE-345). The attack requires network access to a registry and user interaction (running pnpm install), but no authentication or privileges. An attacker controlling a package registry, registry proxy, or able to intercept registry responses can serve malicious tarballs that replace legitimate packages. The frozen-lockfile mode (--frozen-lockfile) correctly rejects such mismatches and does not exhibit this behavior. Patches are available in pnpm 10.34.0+ and 11.4.0+.

## Affected products

- pnpm pnpm <10.34.0 and >=11.0.0 <11.4.0

## Identifiers

- CVE-2026-50573
- GHSA-54hh-g5mx-jqcp

## Timeline

- 2026-05-28: disclosed
- 2026-06-26: published
- 2026-06-26: patched: Fixed in versions 10.34.0 and 11.4.0

## References

- [https://github.com/pnpm/pnpm/security/advisories/GHSA-54hh-g5mx-jqcp](https://github.com/pnpm/pnpm/security/advisories/GHSA-54hh-g5mx-jqcp)
- [https://github.com/pnpm/pnpm](https://github.com/pnpm/pnpm)

## Related threats

- [pnpm environment secret exfiltration via proxy settings in workspace manifest](https://junglewise.ai/threats/pnpm-environment-secret-exfiltration-via-proxy-settings-in-workspace-f6626cca)
- [pnpm pacquet path traversal in lockfile dependency symlinks](https://junglewise.ai/threats/pnpm-pacquet-path-traversal-in-lockfile-dependency-symlinks-dc3f81d1)
- [pnpm tarball dependency manifest name path traversal arbitrary file write](https://junglewise.ai/threats/cve-2026-82393-pnpm-tarball-dependency-manifest-name-path-traversal-arbitrary)
- [pnpm virtual store linker path traversal via unvalidated depPath](https://junglewise.ai/threats/cve-2026-82392-pnpm-virtual-store-linker-path-traversal-via-unvalidated-deppath)
- [pnpm path traversal via crafted lockfile alias](https://junglewise.ai/threats/cve-2026-59196-pnpm-path-traversal-via-crafted-lockfile-alias)
