Skip to main content
EPSS 0.2%top 95%

pnpm: Unsafe default behavior breaks integrity check (CVE-2026-50573)

0
Medium
Published: 08/13/2026 (08/13/2026, 17:28:25 UTC)
Source: GCVE Database
Product: pnpm

Description

pnpm versions prior to 10.34.0 and 11.4.0 have a vulnerability where the integrity check of packages in the lockfile can be bypassed in non-frozen mode. When a package's tarball content changes on the registry but retains the same name and version, pnpm accepts the new content after an initial integrity mismatch, updates the lockfile, and installs the new package without blocking the operation. This undermines the integrity guarantees of the lockfile. The issue is fixed in versions 10.34.0 and 11.4.0.

CVSS v3.1

Score 6.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

Homebrewmore threats →ghsa
pnpm
pkg:brew/pnpm
Affected versions
<11.21.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/04/2026, 21:16:35 UTC

Technical Analysis

The vulnerability in pnpm affects versions prior to 10.34.0 and 11.4.0. When running `pnpm install` in non-frozen mode, if the downloaded package tarball does not match the integrity recorded in pnpm-lock.yaml, pnpm initially reports an integrity mismatch. However, instead of halting, pnpm performs a resolution repair, accepts the new integrity from the registry, updates the lockfile, installs the new content, and exits successfully. This means the lockfile integrity check does not enforce a hard stop by default, allowing potentially altered or malicious package content to be installed despite integrity mismatches. This behavior is fixed in versions 10.34.0 and 11.4.0.

Potential Impact

This vulnerability allows an attacker who can alter the package content served by the registry (for a package already locked with an integrity value) to bypass the integrity check and have the altered package installed. This can lead to the installation of malicious or tampered packages despite the presence of a lockfile integrity value, potentially compromising the security and trustworthiness of the software supply chain. The CVSS score of 6.8 indicates a medium severity with high impact on confidentiality and integrity but no impact on availability.

Mitigation Recommendations

Upgrade pnpm to version 10.34.0 or later, or 11.4.0 or later, where this vulnerability is fixed. These versions enforce the integrity check properly and do not accept altered package content silently. Until upgraded, avoid running `pnpm install` in non-frozen mode if strict integrity verification is required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-pnpm-CVE-2026-50573
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac2c0b02cdf04f656523903

Added to database: 10/04/2026, 21:10:08 UTC

Last enriched: 10/04/2026, 21:16:35 UTC

Last updated: 10/05/2026, 06:48:17 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses