Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0047
Published:August 03, 2026
Updated:September 02, 2026
pnpm expands ${...} environment-variable placeholders in the httpProxy, httpsProxy, noProxy, proxy and noproxy settings when those settings come from a project's pnpm-workspace.yaml, which is repository-controlled and therefore untrusted. getOptionsFromPnpmSettings guarded only the registry field via REQUEST_DESTINATION_SCALAR_KEYS, so a malicious repository can route install requests through an attacker-controlled proxy whose URL embeds an environment secret and exfiltrate it before any lifecycle script runs (--ignore-scripts is no defence). Fixed in 10.34.5 and 11.11.0 by adding the proxy fields to the guarded set.
Affected Packages
https://github.com/pnpm/pnpm.git (GITHUB):
Affected version(s) >=v11.0.0 <v11.11.0
Fix Suggestion:
Update to version v11.11.0
https://github.com/pnpm/pnpm.git (GITHUB):
Affected version(s) >=v10.7.0 <v10.34.5
Fix Suggestion:
Update to version v10.34.5
pnpm (NPM):
Affected version(s) >=11.0.0 <11.11.0
Fix Suggestion:
Update to version 11.11.0
pnpm (NPM):
Affected version(s) >=10.7.0 <10.34.5
Fix Suggestion:
Update to version 10.34.5
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Insertion of Sensitive Information Into Sent Data
Cleartext Transmission of Sensitive Information
Insufficiently Protected Credentials