pnpm 11.0.0 before 11.11.0 Environment Variable Exfiltration via Proxy Settings
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.
CVE-2026-101043
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-101043
pnpm
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
pnpm
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "pnpm",
"product": "pnpm",
"versions": [
{
"status": "affected",
"version": "11.0.0",
"lessThan": "11.11.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "11.11.0",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/pnpm",
"defaultStatus": "unaffected"
},
{
"vendor": "pnpm",
"product": "pnpm",
"versions": [
{
"status": "affected",
"version": "10.7.0",
"lessThan": "10.34.5",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "10.34.5",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/pnpm",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-101043
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #4579 · Revision 1
- Added to Heist Feed
- Publisher date