Argument injection in pnpm - #VU153386

 

Argument injection in pnpm - #VU153386

Published: October 6, 2026


Vulnerability identifier: #VU153386
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-88
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to inject command-line options into git dependency processing.

The vulnerability exists due to improper neutralization of command-line arguments in git dependency handling when processing a repository value from a lockfile. A local user can supply a repository value that git interprets as a command-line option to inject command-line options into git dependency processing.

The advisory identifies empty repository values, values beginning with a hyphen, and values containing a null byte as problematic inputs.


Affected software

pnpm

Remediation

Install security update from vendor's website.

pnpm - addressed in versions 11.28.5, 12.10.0

External References

Related Security Bulletins