Back to list

pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install — GHSA-VQ4V-J7R6-JQ4M

GitHub · GitHub · GHSA-VQ4V-J7R6-JQ4M

ID
GHSA-VQ4V-J7R6-JQ4M
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.5
EPSS
0.00413

Summary

## Summary When resolving a package, pnpm uses the resolved **manifest `name`** as a raw path segment for the isolated-linker import target. A tarball dependency whose `package.json` `name` is a scoped path traversal (`@x/../../…/<abs path>`) is therefore extracted **outside `node_modules`**, to an attacker-chosen absolute path, and can **overwrite existing files** there. Attacker controls the destination,…

Timeline

Published by source
2026-09-02

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 7.5 out of 10.
  • Reported EPSS value: 0.00413.
  • 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-VQ4V-J7R6-JQ4M
Source
GitHub
Vendor
GitHub
Published by source
2026-09-02
Last source activity
2026-09-02
Additional identifiers
CVE-2026-82393
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.