Description
pnpm versions 11.0.0 before 11.11.0 and 10.7.0 before 10.34.5 expand ${VAR} environment-variable placeholders in the httpProxy, httpsProxy, and noProxy settings read from a project's pnpm-workspace.yaml. Because the manifest is repository-controlled and the proxy keys were omitted from the request-destination key set that otherwise suppresses placeholder expansion for untrusted manifests (as already done for registry, pnprServer, registries and namedRegistries), an attacker who controls a repository's pnpm-workspace.yaml can cause a victim who clones the repository and runs a pnpm command (e.g. pnpm install) to expand environment secrets such as NPM_TOKEN or GITHUB_TOKEN into a proxy hostname or userinfo and route install traffic — and the corresponding DNS lookups — through an attacker-controlled host. The exfiltration occurs during configuration loading, before any lifecycle script executes. Fixed in pnpm 11.11.0 and 10.34.5.
Published: 2026-09-27
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure via Environment Variable Exfiltration
Action: Immediate Patch
AI Analysis

Impact

PNPM versions before 11.11.0 and 10.34.5 incorrectly expand environment-variable placeholders in httpProxy, httpsProxy, and noProxy fields read from a project’s pnpm-workspace.yaml. An attacker can embed secrets such as NPM_TOKEN or GITHUB_TOKEN into these fields, causing the values to be resolved by the client during configuration loading. This causes the fabricated proxy hostname or userinfo to be used for all subsequent traffic, exposing the secret values in DNS queries and HTTP requests before any install scripts run. The vulnerability allows a malicious repository to exfiltrate sensitive credentials from a victim’s environment simply by having them install the project.

Affected Systems

Vulnerable systems are those running PNPM version 11.0.0 through 11.10.9 and 10.7.0 through 10.34.4. The issue manifests in any environment where an attacker controls the repository’s pnpm-workspace.yaml, which can be hosted on public code hosting platforms or internal Git repositories.

Risk and Exploitability

The CVSS score of 8.3 indicates high severity, and the issue is not listed in KEV and has no EPSS score available. The likely attack vector is a malicious or compromised repository containing crafted placeholder values. An attacker only needs to get the victim to clone and run a PNPM command such as pnpm install. Once the configuration is loaded, contextual secrets are leaked to a server controlled by the attacker, exposing credentials and potentially enabling further compromise. The vulnerability can be exploited without privilege escalation and before any lifecycle script runs, making it especially dangerous.

Generated by OpenCVE AI on September 27, 2026 at 18:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to PNPM 11.11.0 or 10.34.5, which removes placeholder expansion for untrusted proxy settings.
  • Avoid executing PNPM commands from repositories that are not fully trusted or verified.
  • Validate the pnpm-workspace.yaml file for unexpected proxy configuration before running PNPM commands, and reject configurations that reference environment variables in proxy fields.

Generated by OpenCVE AI on September 27, 2026 at 18:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 28 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Sun, 27 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Description pnpm versions 11.0.0 before 11.11.0 and 10.7.0 before 10.34.5 expand ${VAR} environment-variable placeholders in the httpProxy, httpsProxy, and noProxy settings read from a project's pnpm-workspace.yaml. Because the manifest is repository-controlled and the proxy keys were omitted from the request-destination key set that otherwise suppresses placeholder expansion for untrusted manifests (as already done for registry, pnprServer, registries and namedRegistries), an attacker who controls a repository's pnpm-workspace.yaml can cause a victim who clones the repository and runs a pnpm command (e.g. pnpm install) to expand environment secrets such as NPM_TOKEN or GITHUB_TOKEN into a proxy hostname or userinfo and route install traffic — and the corresponding DNS lookups — through an attacker-controlled host. The exfiltration occurs during configuration loading, before any lifecycle script executes. Fixed in pnpm 11.11.0 and 10.34.5.
Title pnpm 11.0.0 before 11.11.0 Environment Variable Exfiltration via Proxy Settings
First Time appeared Pnpm
Pnpm pnpm
Weaknesses CWE-201
CPEs cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:*:*:*
Vendors & Products Pnpm
Pnpm pnpm
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-30T15:47:12.588Z

Reserved: 2026-09-27T15:48:49.472Z

Link: CVE-2026-101043

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-27T18:16:29.700

Modified: 2026-09-30T17:23:08.953

Link: CVE-2026-101043

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-27T17:02:33Z

Links: CVE-2026-101043 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T19:45:16Z

Weaknesses
  • CWE-201

    Insertion of Sensitive Information Into Sent Data