brew-pnpm-cve-2026-82392
Vulnerability from osv_homebrew
pnpm is a package manager. Prior to 10.34.5 and from 11.0.0 until 11.11.0, pnpm parses the package name from attacker-controlled pnpm-lock.yaml packages keys with dp.parse(depPath).name and uses it without validation in deps/graph-builder/src/lockfileToDepGraph.ts and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts. The name reaches path.join(modules, pkgName), storeController.importPackage, and pnpm11/lockfile/to-pnp/src/index.ts, allowing package contents to be written outside node_modules when a user runs pnpm install. When dangerouslyAllowAllBuilds or a matching allowBuilds entry permits lifecycle scripts, the escaped package can execute code with the user's privileges. This issue is fixed in versions 10.34.5 and 11.11.0.
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"upstream_fixed_in": "11.11.0"
},
"package": {
"ecosystem": "Homebrew",
"name": "pnpm",
"purl": "pkg:brew/pnpm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "11.11.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "git",
"upstream_evidence": [
{
"ecosystem": "GIT",
"key": "https://github.com/pnpm/pnpm",
"name": "https://github.com/pnpm/pnpm",
"strategy": "git",
"subject_version": "v12.4.2"
},
{
"ecosystem": "npm",
"key": "pkg:npm/pnpm@12.4.2",
"name": "pnpm",
"strategy": "registry",
"subject_version": "12.4.2"
}
]
},
"details": "pnpm is a package manager. Prior to 10.34.5 and from 11.0.0 until 11.11.0, pnpm parses the package name from attacker-controlled pnpm-lock.yaml packages keys with dp.parse(depPath).name and uses it without validation in deps/graph-builder/src/lockfileToDepGraph.ts and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts. The name reaches path.join(modules, pkgName), storeController.importPackage, and pnpm11/lockfile/to-pnp/src/index.ts, allowing package contents to be written outside node_modules when a user runs pnpm install. When dangerouslyAllowAllBuilds or a matching allowBuilds entry permits lifecycle scripts, the escaped package can execute code with the user\u0027s privileges. This issue is fixed in versions 10.34.5 and 11.11.0.",
"id": "BREW-pnpm-CVE-2026-82392",
"modified": "2026-09-16T10:03:26Z",
"published": "2026-09-03T09:51:06Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/pnpm/pnpm/releases/tag/v10.34.5"
},
{
"type": "WEB",
"url": "https://github.com/pnpm/pnpm/releases/tag/v11.11.0"
},
{
"type": "ADVISORY",
"url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82392.json"
},
{
"type": "ADVISORY",
"url": "https://github.com/pnpm/pnpm/security/advisories/GHSA-c59q-g84q-2gj5"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-82392"
},
{
"type": "FIX",
"url": "https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7"
},
{
"type": "FIX",
"url": "https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9"
},
{
"type": "FIX",
"url": "https://github.com/pnpm/pnpm/pull/12872"
},
{
"type": "FIX",
"url": "https://github.com/pnpm/pnpm/pull/12890"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L",
"type": "CVSS_V3"
}
],
"summary": "pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph",
"upstream": [
"GHSA-c59q-g84q-2gj5",
"CVE-2026-82392"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.