Skip to content

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

HighCVSS 8.3 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

6 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
redhat/amq-broker-maven-repository.zip(Red Hat amq_broker 7) All versions No fix listed No fix yet
redhat/keycloak-operator.redhat-00001.zip(Red Hat build_keycloak) All versions No fix listed No fix yet
redhat/keycloak-operator.redhat-00003.zip(Red Hat build_keycloak) All versions No fix listed No fix yet
redhat/rhbk-quarkus-dist.zip(Red Hat build_keycloak) All versions No fix listed No fix yet
npm pnpm >= 10.7.0, < 10.34.5; >= 11.0.0, < 11.11.0 10.34.5, 11.11.0 Fixed
npm pnpm(npm) >= 10.7.0, < 10.34.5; >= 11.0.0, < 11.11.0 10.34.5, 11.11.0 Fixed

Affected products

ProductAffected versionsFixed in
redhat/amq-broker-maven-repository.zip(Red Hat:amq_broker:7) All versions No fix listed
redhat/keycloak-operator.redhat-00001.zip(Red Hat:build_keycloak:) All versions No fix listed
redhat/keycloak-operator.redhat-00003.zip(Red Hat:build_keycloak:) All versions No fix listed
redhat/rhbk-quarkus-dist.zip(Red Hat:build_keycloak:) All versions No fix listed
npm pnpm >= 11.0.0, < 11.11.0 11.11.0
npm pnpm >= 10.7.0, < 10.34.5 10.34.5
npm pnpm(npm) >= 11.0.0, < 11.11.0 11.11.0
npm pnpm(npm) >= 10.7.0, < 10.34.5 10.34.5

References