CVE-2026-50021 Details
Description
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm's tarball extraction worker skips integrity verification when the integrity field is absent from the lockfile resolution. If an attacker can both modify pnpm-lock.yaml to remove the integrity: field and cause the referenced registry URL to serve altered package content, pnpm install --frozen-lockfile can install the altered package without an integrity error. npm's npm ci enforces integrity by default; pnpm's behavior of silently skipping verification is a pnpm-specific fail-open gap. This vulnerability is fixed in 10.34.0 and 11.4.0.
A vulnerability exists in pnpm package manager versions prior to 10.34.0 and 11.4.0, where the tarball extraction process fails to verify integrity when the integrity field is missing from the lockfile. This issue allows an attacker to manipulate the pnpm-lock.yaml file to remove the integrity field and serve altered package content from the registry. Consequently, using 'pnpm install --frozen-lockfile' can result in the installation of the modified package without any integrity verification error. In contrast, npm's 'npm ci' command enforces integrity checks by default. This vulnerability creates a specific fail-open scenario in pnpm.
Users are advised to update pnpm to version 10.34.1 or 11.4.0 or later. Additionally, consider requiring an integrity field for remote tarball resolutions and rejecting lockfile entries that lack integrity for non-local packages when using the '--frozen-lockfile' option.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pnpm/pnpm/security/advisories/GHSA-q6j5-fjx5-2mc3 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/pnpm/pnpm/security/advisories/GHSA-q6j5-fjx5-2mc3 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-354 | Improper Validation of Integrity Check Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pnpm pnpm | < 10.34.0 >= 11.0.0, < 11.4.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 29, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 25, 2026 | New CVE Received | [email protected] |