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
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