PT-2026-52513
CVE-2026-50014
·
Published
2026-06-25
·
Updated
2026-07-30
Description by
CVSS 3.1
7.3
HighMetricsAV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
pnpm versions prior to 10.34.0
pnpm versions prior to 11.4.0
Description
pnpm passes the
git resolution.commit value from the lockfile to the git fetch command without using a -- separator or performing commit-format validation. When git dependencies are fetched via the shallow-fetch path, a malicious lockfile can replace the 40-character commit hash with a Git option, such as --upload-pack=<command>. For local transports and SSH, the --upload-pack option can execute the specified command. HTTPS transports are not affected as they ignore this option.Recommendations
Update pnpm to version 10.34.0 or later.
Update pnpm to version 11.4.0 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾