pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph — GHSA-C59Q-G84Q-2GJ5
GitHub · GitHub · GHSA-C59Q-G84Q-2GJ5
ID
GHSA-C59Q-G84Q-2GJ5
GHSA-C59Q-G84Q-2GJ5
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
high
high
CVSS
7.1
7.1
EPSS
0.00397
0.00397
Summary
## Summary The virtual store linker constructs package installation directories using `path.join(modules, pkgName)` where `pkgName` is extracted from lockfile `packages` keys via `dp.parse(depPath).name` without validation. A crafted `pnpm-lock.yaml` with traversal sequences in depPath keys (e.g., `../../../tmp/pwned@1.0.0`) causes package content to be written to arbitrary filesystem paths during `pnpm install`.…
Timeline
- Published by source
- 2026-09-02
Risk context
- Reported severity or threat level: high.
- Reported CVSS score: 7.1 out of 10.
- Reported EPSS value: 0.00397.
- Review exposure for the affected product or family: npm: pnpm.
Product
npm: pnpm
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-C59Q-G84Q-2GJ5
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-09-02
- Last source activity
- 2026-09-02
- Additional identifiers
- CVE-2026-82392
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.