CVE-2026-101043

pnpm 11.0.0 before 11.11.0 Environment Variable Exfiltration via Proxy Settings

State
Published
Severity
8.3 High
Published
Sep 27, 2026
Updated
Sep 30, 2026
Reserved
Sep 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.3 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NVulnCheck
3.17.4 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-201 Insertion of Sensitive Information Into Sent Data

Affected Products

ProductVersions
pnpmpnpm
  • 11.0.0 to before 11.11.0Affected
  • 11.11.0Not affected
pnpmpnpm
  • 10.7.0 to before 10.34.5Affected
  • 10.34.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.