Skip to main content

pnpm CVE-2026-50021

| EUVDEUVD-2026-39488 HIGH
Improper Validation of Integrity Check Value (CWE-354)
2026-06-25 GitHub_M GHSA-q6j5-fjx5-2mc3
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to pnpm-lock.yaml
  2. Delivery
    Strip integrity field from remote resolution
  3. Exploit
    Serve altered tarball at registry URL
  4. Execution
    Run pnpm install --frozen-lockfile
  5. Persist
    Hash check skipped, tampered package stored
  6. Impact
    Malicious code executes in build/deploy

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Integrity verification
Exploitation Conditions

Exploitation requires two concrete, simultaneous prerequisites: (1) the attacker must be able to modify pnpm-lock.yaml to delete the integrity: field from a remote tarball resolution (e.g., via repository write access, a merged pull request, or a compromised developer), and (2) the attacker must control the content served at that package's registry URL so the altered tarball is delivered (registry compromise, malicious proxy/mirror, or MITM). The trigger is running pnpm install --frozen-lockfile (or a normal install) on a vulnerable pnpm version (<10.34.0/10.34.1, or 11.0.0-<11.4.0). Limiting factors: no exploitation is possible against local file resolutions (the bypass is specific to remote tarballs), the dual lockfile-plus-registry control requirement meaningfully constrains opportunistic abuse, and patched versions reject remote entries lacking integrity. No special non-default pnpm configuration flag is needed - the fail-open behavior occurs even in the strict --frozen-lockfile mode.

Impact

Signals point to a genuine but conditional supply-chain risk rather than a mass-exploitation emergency. The NVD CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, 8.1) rates complexity as low, but the description establishes two simultaneous prerequisites - write access to the lockfile AND the ability to make the registry URL serve altered content - which in practice raises attack complexity, so AC:L appears optimistic; AC:H is more defensible. SSVC aligns with a measured posture: Exploitation=poc (not active), Automatable=no, Technical Impact=total. EPSS is low (0.12%, 2nd percentile) and the CVE is not in CISA KEV, consistent with a targeted, conditions-dependent attack rather than opportunistic scanning. The 'Information Disclosure' tag is somewhat misleading - the true impact is integrity/supply-chain code execution, matching CWE-354 and the C:H/I:H/A:N impact set. Net: prioritize for CI/CD and developer-tooling environments where lockfiles and registry paths are attacker-reachable, but it is not a drop-everything internet-facing flaw.

Exploit ScenarioDerived

An attacker submits or sneaks a change into a project's pnpm-lock.yaml that removes the integrity: line for a chosen dependency, then arranges for that dependency's registry URL to return a backdoored tarball (e.g., via registry compromise, a malicious proxy, or man-in-the-middle on an unverified path). When CI runs pnpm install --frozen-lockfile, pnpm skips hash verification, installs the tampered package, and the malicious postinstall/runtime code executes in the build or deployment environment. A working proof-of-concept (publishing, lockfile generation, republishing tampered content, and re-install) is published in the advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 29, 2026

Integrity-check bypass in the pnpm package manager (versions before 10.34.0/10.34.1 and 11.0.0-11.3.x) lets tampered packages install silently because the tarball extraction worker skips hash verification whenever the lockfile resolution has no integrity field. An attacker who can both edit pnpm-lock.yaml to drop the integrity: line and cause the referenced registry URL to serve altered content can push a malicious package through pnpm install --frozen-lockfile without any integrity error - a fail-open gap that npm's npm ci does not share. Publicly available exploit code exists; EPSS is low (0.12%, 2nd percentile) and the issue is not in CISA KEV.

Earlier versions of this analysis (2)
v2 Jun 29, 2026 - 21:31 cvss changed CVSS 8.1

Software supply-chain tampering in the pnpm package manager (versions before 10.34.0 and the 11.0.0-11.4.0 range) lets attackers install altered packages because the tarball extraction worker fails open and skips integrity verification whenever the integrity: field is missing from a lockfile resolution. An attacker who can both edit pnpm-lock.yaml to drop that field and serve modified content from the referenced registry URL can have pnpm install --frozen-lockfile pull in tampered code with no integrity error - unlike npm ci, which enforces integrity by default. Publicly available exploit code exists, but EPSS is low (0.12%, 2nd percentile) and the issue is not in CISA KEV, so this is currently a proof-of-concept rather than mass-exploited threat.

v1 Jun 25, 2026 - 18:21 CVSS 6.8

Integrity verification bypass in pnpm allows tampered packages to be silently installed when the integrity field is absent from pnpm-lock.yaml resolution entries. Versions prior to 10.34.0 and 11.4.0 are affected; exploitation requires an attacker to both modify the lockfile and serve altered content from the referenced registry URL, making this a supply chain attack vector with high confidentiality and integrity impact during CI/CD pipeline execution. No active exploitation is confirmed (not in CISA KEV), and no public exploit code has been identified, though the fail-open behavior is a meaningful regression from npm's stricter default enforcement.

RemediationAI

Vendor-released patch: upgrade to pnpm 10.34.1 (10.x line; advisory also lists 10.34.0 as the fix) or 11.4.0 (11.x line), per GHSA-q6j5-fjx5-2mc3 (https://github.com/pnpm/pnpm/security/advisories/GHSA-q6j5-fjx5-2mc3). Until you upgrade, the most effective compensating control is to enforce that every remote tarball resolution in pnpm-lock.yaml carries an integrity: value: add a CI lint/pre-merge check that fails the build if any non-local lockfile entry is missing its integrity field (trade-off: requires custom tooling and may flag legitimately hand-edited lockfiles). Lock down who can modify pnpm-lock.yaml via branch protection and mandatory code review so a stripped integrity field cannot land unnoticed (trade-off: process overhead), and pin installs to a trusted internal registry / proxy with TLS and immutable package versions to remove the attacker's ability to serve altered content at a given URL (trade-off: requires registry infrastructure). These controls address both halves of the attack precondition; none fully substitutes for the patch.

Affected VersionsENISA

pnpm < 10.34.0
pnpm 11.0.0, < 11.4.0

Affected Packages

npm pnpm fix: 10.34.0, 10.34.1, 11.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pnpm is one of the three major JavaScript/Node.js package managers and relies on Subresource-Integrity-style hashes recorded in pnpm-lock.yaml to guarantee that downloaded tarballs match what was originally resolved. The flaw is a classic CWE-354 (Improper Validation of Integrity Check Value): in addTarballToStore within worker/src/start.ts (lines 189-204) the hash comparison is gated behind if (integrity), and because the TarballResolution type declares integrity?: string as optional, an undefined value makes the guard evaluate false and skips verification entirely. The worker then computes a fresh hash from the unverified bytes and stores it as if legitimate, so even --frozen-lockfile - intended to be the strict, reproducible install mode - fails open rather than rejecting the entry. The affected CPE is cpe:2.3:a:pnpm:pnpm.

Know when Pnpm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY MEDIUM
NVD 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

AC:H because exploitation needs both lockfile modification and control of registry-served content; PR:L for the repository/lockfile write access required; I:H/C:H from arbitrary tampered-package execution, A:N as availability is not the direct impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

5
Analysis Updated
Jun 29, 2026 - 21:31 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 29, 2026 - 21:31 vuln.today
v2 - CVSS changed
Severity Changed
Jun 29, 2026 - 21:22 NVD
MEDIUM HIGH
CVSS changed
Jun 29, 2026 - 21:22 NVD
6.8 (MEDIUM) 8.1 (HIGH)
Patch available
Jun 25, 2026 - 19:17 EUVD

DescriptionNVD

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.

Executive ViewAI

Why It Matters

pnpm package manager versions prior to 10.34.0/10.34.1 and 11.4.0 contain an integrity verification bypass that allows malicious packages to install when lockfiles lack integrity fields; publicly available exploit code exists. Organizations using pnpm face supply-chain compromise risk if attackers can modify lockfiles or serve altered packages from registries. Prompt patching is essential to prevent unauthorized code injection into production systems.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations: mandatory code review of pnpm-lock.yaml modifications; require signed commits for lockfile changes; implement restricted registry access with authentication; establish continuous monitoring of lockfile integrity in version control systems.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
one of the three major JavaScript/Node.js package managers, widely used in modern CI/CD
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Pnpm

View all
CVE-2025-69264 CRITICAL POC
9.8 Jan 07

Arbitrary code execution in the pnpm package manager (versions 10.0.0 through 10.25) lets a git-hosted dependency run co

CVE-2023-37478 CRITICAL POC
9.8 Aug 01

pnpm is a package manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentica

CVE-2026-50016 HIGH POC
8.8 Jun 25

Path traversal in pnpm before 10.34.0 and 11.4.0 lets a malicious registry package smuggle '../' segments inside a trans

CVE-2026-55698 HIGH POC
8.8 Jun 25

Arbitrary code execution in the pnpm package manager (versions prior to 10.34.2 and 11.5.3) lets a malicious repository

CVE-2026-55697 HIGH POC
8.8 Jun 25

Arbitrary command execution in pnpm before 10.34.2 and 11.5.3 allows a malicious repository to run attacker-chosen nativ

CVE-2025-69263 HIGH POC
8.8 Jan 07

Supply-chain integrity bypass in pnpm package manager (versions ≤10.26.2, per description; GHSA states <10.26.0) allows

CVE-2022-26183 HIGH POC
8.8 Mar 21

PNPM v6.15.1 and below was discovered to contain an untrusted search path which causes the application to behave in unex

CVE-2025-69262 HIGH POC
7.8 Jan 07

Command injection in pnpm versions 6.25.0 through 10.26.2 allows attackers controlling environment variables to execute

CVE-2026-82393 HIGH POC
7.5 Aug 31

Scoped path traversal in pnpm allows arbitrary filesystem overwrites during package installation, defeating the --ignore

CVE-2026-50015 HIGH POC
7.3 Jun 25

Arbitrary file write and deletion in pnpm package manager (versions prior to 10.34.0 and 11.4.0) lets a malicious contri

CVE-2026-50014 HIGH POC
7.3 Jun 25

Arbitrary command execution in pnpm before 10.34.0 and 11.4.0 allows a malicious lockfile to run code on a developer's m

CVE-2026-55700 HIGH POC
7.1 Jun 25

Path traversal in pnpm's `pnpm stage download` command (versions 11.3.0 through 11.5.2) lets a malicious or compromised

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy