CVE-2026-50573 pnpm: Unsafe default behavior breaks integrity check
HighCVSS 8.1
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
Description
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, 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. This vulnerability is fixed in 10.34.0 and 11.4.0.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pnpm | = < 10.33.4 | No fix listed |
| pnpm | = >= 11.0.0, < 11.4.0 | No fix listed |
| redhat/pnpm(Red Hat:amq_broker:7) | All versions | No fix listed |
| redhat/pnpm(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/pnpm(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/pnpm(Red Hat:jbosseapxp) | All versions | No fix listed |
| npm pnpm(npm) | < 10.34.0 | 10.34.0 |
| npm pnpm(npm) | >= 11.0.0, < 11.4.0 | 11.4.0 |
| pnpm | < 10.34.0 | 10.34.0 |
| pnpm | >= 11.0.0, < 11.4.0 | 11.4.0 |
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-54hh-g5mx-jqcp exploit vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2493025 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product