CVE-2026-50021
pnpm Has an Integrity Check Bypass via Missing Lockfile Integrity Field
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | pnpm | >= 11.0.0, < 11.4.0 | 11.4.0 |
Betroffene Produkte · Pnpm
| Produkt | Betroffene Versionen |
|---|---|
| Pnpm | vor 10.34.0 ab 11.0.0 vor 11.4.0 ab 11.0.0, vor 11.4.0 Version < 10.34.0 |