Skip to main content

pnpm 11.0.0 before 11.11.0 Environment Variable Exfiltration via Proxy Settings (CVE-2026-101043)

0
High
Published: 09/02/2026 (09/02/2026, 09:40:48 UTC)
Source: GCVE Database
Product: pnpm

Description

pnpm versions 11.0.0 before 11.11.0 and 10.7.0 before 10.34.5 contain a vulnerability where environment-variable placeholders in proxy settings within pnpm-workspace.yaml are expanded improperly. This allows an attacker controlling the repository manifest to exfiltrate environment secrets such as NPM_TOKEN or GITHUB_TOKEN by causing them to be included in proxy hostnames or userinfo, routing traffic through attacker-controlled hosts. The issue occurs during configuration loading before any lifecycle scripts run. The vulnerability is fixed in pnpm 11.11.0 and 10.34.5.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Affected software

Homebrewmore threats →ghsa
pnpm
pkg:brew/pnpm
Affected versions
>=10.7.0 <11.11.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 00:13:20 UTC

Technical Analysis

The vulnerability in pnpm versions 11.0.0 before 11.11.0 and 10.7.0 before 10.34.5 arises because the httpProxy, httpsProxy, and noProxy settings in pnpm-workspace.yaml expand environment-variable placeholders (${VAR}) without proper suppression for untrusted manifests. Since the manifest is repository-controlled and proxy keys were omitted from the suppression mechanism, an attacker controlling the pnpm-workspace.yaml can inject environment variables like NPM_TOKEN or GITHUB_TOKEN into proxy configuration. This causes the victim's pnpm commands (e.g., pnpm install) to send traffic and DNS lookups through attacker-controlled proxy hosts, leaking sensitive environment secrets. The exfiltration happens early during configuration loading, prior to lifecycle script execution. The vulnerability is addressed by suppressing placeholder expansion for proxy keys and fixed in versions 11.11.0 and 10.34.5.

Potential Impact

An attacker who controls a repository's pnpm-workspace.yaml can exfiltrate sensitive environment variables such as NPM_TOKEN or GITHUB_TOKEN from a victim's environment by manipulating proxy settings. This leads to potential credential leakage and unauthorized access to services relying on these tokens. The exfiltration occurs transparently during configuration loading, without requiring execution of lifecycle scripts, increasing the risk of unnoticed compromise.

Mitigation Recommendations

A fix is available and has been released in pnpm versions 11.11.0 and 10.34.5. Users should upgrade to these versions or later to mitigate this vulnerability. Until upgraded, avoid running pnpm commands on repositories with untrusted pnpm-workspace.yaml files or ensure that environment variables containing secrets are not exposed in proxy settings.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-pnpm-GHSA-vx52-2968-3vc6
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0

Threat ID: 6ad3f5ba2cdf04f656662851

Added to database: 10/17/2026, 22:24:58 UTC

Last enriched: 10/18/2026, 00:13:20 UTC

Last updated: 10/18/2026, 00:13:20 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses