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.
pnpm 11.0.0 before 11.11.0 Environment Variable Exfiltration via Proxy Settings
Problem type
Affected products
pnpm
< 11.11.0 - AFFECTED
11.11.0 - UNAFFECTED
< 10.34.5 - AFFECTED
10.34.5 - UNAFFECTED
References
https://github.com/pnpm/pnpm/security/advisories/GHSA-vx52-2968-3vc6
https://www.vulncheck.com/advisories/pnpm-11.0.0-before-11.11.0-environment-variable-exfiltration-via-proxy-settings
GitHub Security Advisories
GHSA-49pq-2gf3-jw76
pnpm versions 11.0.0 before 11.11.0 and 10.7.0 before 10.34.5 expand ${VAR} environment-variable...
https://github.com/advisories/GHSA-49pq-2gf3-jw76pnpm 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.
https://github.com/pnpm/pnpm/security/advisories/GHSA-vx52-2968-3vc6
https://nvd.nist.gov/vuln/detail/CVE-2026-101043
https://www.vulncheck.com/advisories/pnpm-11.0.0-before-11.11.0-environment-variable-exfiltration-via-proxy-settings
https://github.com/advisories/GHSA-49pq-2gf3-jw76
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-101043Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-101043",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2026-09-27T17:02:33.119Z",
"dateReserved": "2026-09-27T15:48:49.472Z",
"datePublished": "2026-09-27T17:02:33.119Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-09-27T17:02:33.119Z"
},
"datePublic": "2026-08-03T00:00:00.000Z",
"title": "pnpm 11.0.0 before 11.11.0 Environment Variable Exfiltration via Proxy Settings",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "pnpm",
"product": "pnpm",
"defaultStatus": "unaffected",
"versions": [
{
"version": "11.0.0",
"status": "affected",
"versionType": "semver",
"lessThan": "11.11.0"
},
{
"version": "11.11.0",
"status": "unaffected",
"versionType": "semver"
}
]
},
{
"vendor": "pnpm",
"product": "pnpm",
"defaultStatus": "unaffected",
"versions": [
{
"version": "10.7.0",
"status": "affected",
"versionType": "semver",
"lessThan": "10.34.5"
},
{
"version": "10.34.5",
"status": "unaffected",
"versionType": "semver"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Insertion of Sensitive Information Into Sent Data",
"cweId": "CWE-201",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/pnpm/pnpm/security/advisories/GHSA-vx52-2968-3vc6",
"name": "GitHub Security Advisory (GHSA-vx52-2968-3vc6)",
"tags": [
"vendor-advisory"
]
},
{
"url": "https://www.vulncheck.com/advisories/pnpm-11.0.0-before-11.11.0-environment-variable-exfiltration-via-proxy-settings",
"name": "VulnCheck Advisory: pnpm 11.0.0 before 11.11.0 Environment Variable Exfiltration via Proxy Settings",
"tags": [
"third-party-advisory"
]
}
],
"metrics": [
{
"format": "CVSS"
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"baseScore": 7.4,
"baseSeverity": "HIGH"
}
}
]
}
}
}