Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-50014— pnpm: Git Fetch Argument Injection via Lockfile resolution.commit

Quick assessment

Affected
pnpm pnpm
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pnpm是pnpm团队开源的一个包管理器。 pnpm 10.33.4之前版本和11.0.0至11.4.0之前版本存在命令注入漏洞,该漏洞源于将lockfile控制的git resolution.commit值传递给git fetch时缺少--分隔符或commit格式验证,可能导致通过SSH或本地传输执行任意命令。

CVSS 6.4 · Medium EPSS 0.32% · P23

Affected Version Matrix 2

VendorProduct Version RangeStatus
pnpm pnpm < 10.33.4 affected
>= 11.0.0, < 11.4.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50014

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pnpm: Git Fetch Argument Injection via Lockfile resolution.commit
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
参数注入或修改
Source: CVE Program / CVE List V5
Vulnerability Title
pnpm 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pnpm是pnpm团队开源的一个包管理器。 pnpm 10.33.4之前版本和11.0.0至11.4.0之前版本存在命令注入漏洞,该漏洞源于将lockfile控制的git resolution.commit值传递给git fetch时缺少--分隔符或commit格式验证,可能导致通过SSH或本地传输执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pnpm pnpm < 10.33.4 -

II. Public POCs for CVE-2026-50014

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-50014

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-50014 (1)

Same Patch Batch · pnpm · 2026-06-25 · 13 CVEs total

CVE-2026-50016 8.8 HIGH pnpm: Transitive dependency alias path traversal allows project path override via symlink
CVE-2026-55698 8.8 HIGH pnpm: Project env lockfile can short-circuit package-manager resolution and execute lockfi
CVE-2026-55487 7.5 HIGH pnpm: manifest identity spoof satisfies allowBuilds and runs attacker lifecycle
CVE-2026-55697 7.5 HIGH pnpm: Repository-controlled configDependencies can select a pacquet native install engine
CVE-2026-50015 7.3 HIGH pnpm: Arbitrary File Write/Delete via Malicious Patch File (Path Traversal)
CVE-2026-55700 7.1 HIGH pnpm: stage download writes outside destination via manifest version traversal
CVE-2026-50021 6.8 MEDIUM pnpm: Integrity Check Bypass via Missing Lockfile Integrity Field
CVE-2026-50573 6.8 MEDIUM pnpm: Unsafe default behavior breaks integrity check
CVE-2026-55180 6.5 MEDIUM pnpm: Repository config can expand victim environment secrets into registry requests befor
CVE-2026-55699 6.5 MEDIUM pnpm: reserved bin name deletes PNPM_HOME during global remove
CVE-2026-48995 pnpm: Tarball hash of GitHub git dependencies is not stored in lockfile
CVE-2026-50017 pnpm binds unscoped user-level npm auth credentials to a repository-selected registry

IV. Related Vulnerabilities

V. Comments for CVE-2026-50014

No comments yet


Leave a comment