CVE-2026-50014

pnpm: Git Fetch Argument Injection via Lockfile resolution.commit

HIGH
7.3
CVSS Score
Published: June 25, 2026 at 04:51 PM UTC
Updated: July 1, 2026 at 11:22 PM UTC
1 product affected across 1 vendorPnpm

Using pnpm by pnpm?

Get instant alerts when new vulnerabilities affect pnpm - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm passes the lockfile-controlled git resolution.commit value to git fetch without a -- separator or commit-format validation. For git dependencies fetched through the shallow-fetch path, a malicious lockfile can replace the expected 40-character commit hash with a Git option such as --upload-pack=<command>. For SSH and local transports, --upload-pack can execute the supplied command. HTTPS transports ignore --upload-pack, so the practical attack surface is primarily SSH or local git dependencies. This vulnerability is fixed in 10.34.0 and 11.4.0.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 10.33.4v < 10.34.0v < 11.4.011.0.0 ≤ v < 11.4.0
Affected range stops below 10.33.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 10.34.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 11.4.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMExploitMitigationVendor Advisory
Source: cverecord
https://github.com/pnpm/pnpm/security/advisories/GHSA-p4xf-rf54-rj3x

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-88

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card