CVE-2026-50573
HIGH 8.1CVSS 3.1pnpm: Unsafe default behavior breaks integrity check
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.
- Published
- 25 Jun 2026
- Last modified
- 3 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-345
- Also known as
- GHSA-54hh-g5mx-jqcp
- Sources
- NVDJSONOSV GHSA-54hh-g5mx-jqcpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
< 10.34.0 | 10.34.0 |
| NVD | pnpm | pnpmcpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:* |
>= 11.0.0, < 11.4.0 | 11.4.0 |
| OSV | npm | pnpm | < 10.34.0 | 10.34.0 |
| OSV | npm | 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, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-50573 · ADVISORY
- https://github.com/pnpm/pnpm · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Jun 2026)