PT-2026-52513 · Pnpm · Pnpm
CVSS v3.1
7.3
High
| Vector | AV: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.
Exploit
Fix
Argument Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pnpm