Skip to main content

pnpm EUVDEUVD-2026-39497

| CVE-2026-48995 MEDIUM
Missing Support for Integrity Check (CWE-353)
2026-06-25 GitHub_M GHSA-hg3w-7f8c-63hp
4.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Compromise or MITM codeload.github.com
  2. Delivery
    Serve malicious tarball for targeted GitHub dependency
  3. Exploit
    Developer runs pnpm install on affected version
  4. Execution
    pnpm fetches tarball without lockfile hash check
  5. Persist
    Malicious postinstall scripts execute
  6. Impact
    Developer workstation fully compromised

Vulnerability Assessment

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

Exploitation requires all of the following to be true simultaneously: (1) the target project declares at least one dependency sourced from https://codeload.github.com (i.e., a GitHub repository specified in package.json using the user/repo or github:user/repo syntax); (2) pnpm version is prior to 10.33.4 (v10) or 11.0.7 (v11); (3) the attacker has compromised the codeload.github.com server itself OR has achieved network interception capability between the developer and that domain (DNS poisoning, BGP hijack, rogue proxy, or compromised machine DNS/hosts configuration); and (4) the developer actively runs pnpm install or a command that triggers dependency resolution. This vulnerability does NOT affect npm-registry-sourced packages, which maintain separate integrity verification. Exploitation is limited by the high complexity of gaining a trusted network position or compromising GitHub infrastructure.

Impact

The CVSS 4.0 score of 4.8 reflects two significant mitigating factors encoded in the vector: AC:H (exploitation requires a compromised codeload.github.com server or an attacker with network interception capability such as DNS poisoning or a rogue proxy) and UI:A (a developer must actively run pnpm install). These factors substantially limit opportunistic exploitation - this is not a trivially mass-exploitable vulnerability. The E:U modifier in the provided CVSS 4.0 vector confirms no reported exploitation, and the absence from CISA KEV is consistent with this. EPSS data was not provided in the source intelligence. That said, the raw impact metrics (VC:H/VI:H/VA:H) reflect that successful exploitation results in total compromise of the developer's system, which can cascade into CI/CD pipeline compromise, credential theft, and poisoned build artifacts. Real-world priority is moderate for typical organizations, but elevated for high-value targets (prominent open-source maintainers, enterprises with sensitive IP in build pipelines) where supply chain attacks are a credible threat model.

Exploit ScenarioDerived

An attacker who has compromised codeload.github.com infrastructure - or established a man-in-the-middle position via DNS poisoning, BGP hijack, or a rogue proxy in a developer's network path - substitutes a malicious tarball for a legitimate GitHub dependency. When a developer on an affected pnpm version runs pnpm install, pnpm fetches and installs the poisoned package without comparing its content against any stored hash, executing attacker-controlled postinstall scripts with the developer's OS privileges. No public proof-of-concept exploit has been identified at the time of this analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

AnalysisAIv1 – Jun 25, 2026

Missing integrity verification in pnpm's GitHub codeload dependency resolution (versions prior to 10.33.4 and 11.0.7) enables a compromised or man-in-the-middle codeload.github.com server to deliver arbitrary malicious tarballs that pnpm installs without hash validation. Any developer project that sources dependencies from GitHub via pnpm is exposed when running pnpm install on affected versions, with potential for arbitrary code execution during the install lifecycle. No public exploit code exists and there is no CISA KEV listing, but the theoretical impact includes full developer workstation compromise and downstream supply chain contamination.

RemediationAI

Vendor-released patches are available: upgrade pnpm to 10.33.4 or later for v10 users, or to 11.0.7 or later for v11 users. These releases introduce lockfile hash storage and verification for codeload.github.com dependencies, closing the integrity gap. Full advisory details are at https://github.com/pnpm/pnpm/security/advisories/GHSA-hg3w-7f8c-63hp. If an immediate upgrade is not feasible, the most effective compensating control is to replace GitHub codeload dependencies with equivalent published npm registry packages, which are already subject to integrity verification - this eliminates the attack surface entirely but may require packaging changes. Alternatively, pin GitHub dependencies to specific commit SHAs and audit downloaded tarballs out-of-band before committing the lockfile. Temporarily switching package managers (npm or yarn) introduces significant operational overhead and lockfile migration risk and is not recommended unless the pnpm upgrade path is genuinely blocked.

Affected VersionsENISA

pnpm < 10.33.4
pnpm 11.0.0, < 11.0.7

Affected Packages

npm pnpm fix: 10.33.4, 11.0.7

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's lockfile (pnpm-lock.yaml) records integrity hashes (SHA-512) for packages fetched from npm registries, enabling tamper detection on subsequent installs. However, for dependencies sourced from https://codeload.github.com - GitHub's tarball delivery endpoint for repository archives - no such hash is stored or verified. CWE-353 (Missing Support for Integrity Check) precisely describes this root cause: the application retrieves externally-hosted content but lacks a cryptographic digest comparison against a trusted reference in the lockfile. This means the lockfile provides reproducibility (same URL is fetched) but not integrity (the content at that URL is not verified). The affected CPE is cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:*:*:*, covering all pnpm releases in both the v10 and v11 branches prior to the respective fixes.

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 4.8 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
vuln.today AI 7.5 HIGH

Network vector with high complexity because exploitation requires compromising or MITMing codeload.github.com; user interaction required as the developer must invoke pnpm install; scope unchanged as impact remains on the developer's system.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 19:17 EUVD

DescriptionCVE.org

pnpm is a package manager. Prior to 10.33.4 and 11.0.7, a malicious codeload.github.com server can serve whatever tarball it wants and pnpm will install it regardless of the lockfile. The lockfile does not store the hash of the dependencies from https://codeload.github.com. This means that if this server was compromised or a person's machine configuration was compromised, pnpm would download and install these dependencies. This vulnerability is fixed in 10.33.4 and 11.0.7.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
popular Node.js package manager, secondary to npm in footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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-2026-50021 HIGH POC
8.1 Jun 25

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 pac

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

Vendor StatusVendor

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