{"id":"GHSA-vq4v-j7r6-jq4m","revision":null,"records":[{"revision":"3486190183074e45a6cb9c40220a6090","observedAt":"2026-11-03T23:57:16.858+00:00","statement":{"source":"cve-program","id":"CVE-2026-82393","aliases":[],"title":"pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install","description":"pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for unscoped names. During pnpm install, the unvalidated name reaches raw path joins in pnpm11/installing/deps-resolver/src/resolvePeers.ts, pnpm11/installing/deps-resolver/src/index.ts, and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts, causing package extraction outside node_modules and allowing attacker-controlled files to overwrite arbitrary filesystem paths even when --ignore-scripts is used. The overwrite can replace shell startup files, Git hooks, or installed package code and lead to code execution. This issue is fixed in versions 10.34.5, and 11.11.0.","state":0,"publishedAt":"2026-08-31T21:12:09.196+00:00","modifiedAt":"2026-11-03T22:23:37.318+00:00","affected":[{"ecosystem":"Vendor product","name":"pnpm","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pnpm\",\n                    \"product\": \"pnpm\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 10.34.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 11.0.0, < 11.11.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m","https://github.com/pnpm/pnpm/pull/12872","https://github.com/pnpm/pnpm/pull/12890","https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7","https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9","https://github.com/pnpm/pnpm/releases/tag/v10.34.5","https://github.com/pnpm/pnpm/releases/tag/v11.11.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-82393","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-82393","identifiers":["CVE-2026-82393"]},"retained":false,"historicalAffected":[]},{"revision":"2eb4e3cbecf94f58bc9a19fb0e27fb1f","observedAt":"2026-11-19T18:51:48.113+00:00","statement":{"source":"euvd","id":"EUVD-2026-68883","aliases":["CVE-2026-82393","GHSA-vq4v-j7r6-jq4m"],"title":"pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for un…","description":"pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for unscoped names. During pnpm install, the unvalidated name reaches raw path joins in pnpm11/installing/deps-resolver/src/resolvePeers.ts, pnpm11/installing/deps-resolver/src/index.ts, and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts, causing package extraction outside node_modules and allowing attacker-controlled files to overwrite arbitrary filesystem paths even when --ignore-scripts is used. The overwrite can replace shell startup files, Git hooks, or installed package code and lead to code execution. This issue is fixed in versions 10.34.5, and 11.11.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"severity":null}],"references":["https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m","https://github.com/pnpm/pnpm/pull/12872","https://github.com/pnpm/pnpm/pull/12890","https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7","https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9","https://github.com/pnpm/pnpm/releases/tag/v10.34.5","https://github.com/pnpm/pnpm/releases/tag/v11.11.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-68883","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 31, 2026, 9:12:09 PM","dateUpdated":"Nov 3, 2026, 10:23:37 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-68883","identifiers":["EUVD-2026-68883","CVE-2026-82393","GHSA-vq4v-j7r6-jq4m"]},"retained":false,"historicalAffected":[]},{"revision":"90dfaa2a31724ca4881780909b44c439","observedAt":"2026-11-04T20:56:01.482+00:00","statement":{"source":"nvd","id":"CVE-2026-82393","aliases":[],"title":"pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for un…","description":"pnpm is a package manager. Prior to 10.34.5 and 11.11.0, pnpm accepts a scoped path traversal in a tarball dependency's package.json manifest name because pnpm11/resolving/npm-resolver/src/pickPackage.ts rejects slash characters only for unscoped names. During pnpm install, the unvalidated name reaches raw path joins in pnpm11/installing/deps-resolver/src/resolvePeers.ts, pnpm11/installing/deps-resolver/src/index.ts, and pnpm11/deps/graph-builder/src/lockfileToDepGraph.ts, causing package extraction outside node_modules and allowing attacker-controlled files to overwrite arbitrary filesystem paths even when --ignore-scripts is used. The overwrite can replace shell startup files, Git hooks, or installed package code and lead to code execution. This issue is fixed in versions 10.34.5, and 11.11.0.","state":0,"publishedAt":"2026-08-31T22:17:22.353+00:00","modifiedAt":"2026-11-03T23:17:57.27+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7","https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9","https://github.com/pnpm/pnpm/pull/12872","https://github.com/pnpm/pnpm/pull/12890","https://github.com/pnpm/pnpm/releases/tag/v10.34.5","https://github.com/pnpm/pnpm/releases/tag/v11.11.0","https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-82393","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-22","CWE-73","CWE-94"],"productCriteria":[],"sourceDates":{"published":"2026-08-31T22:17:22.353","lastModified":"2026-11-03T23:17:57.270"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-82393","identifiers":["CVE-2026-82393"]},"retained":false,"historicalAffected":[]},{"revision":"0d92ea1436ab4b0ba552bc7d6067928c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-vq4v-j7r6-jq4m","aliases":["CVE-2026-82393"],"title":"pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install","description":"## Summary\nWhen 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, filenames, and contents → arbitrary file write → **code execution** (e.g. `~/.zshrc`, `.git/hooks/pre-commit`, another package's code). Occurs during `pnpm install` **even with `--ignore-scripts`** (no lifecycle scripts run), defeating that safety.\n\nSame class as the just-patched **GHSA-hwx4** (transitive-dependency *alias* traversal) and **GHSA-v23m** (`stage download` manifest name/version traversal), in a sink their fixes did not cover: the isolated-linker import target keyed by the resolved **name**.\n\n## Root cause\n- The isolated-linker import target is built with a raw `path.join(modules, <resolved name>)` in `installing/deps-resolver/src/resolvePeers.ts:706`, `installing/deps-resolver/src/index.ts:614`, and `deps/graph-builder/src/lockfileToDepGraph.ts:233` — **without** the `safeJoinModulesDir` guard used on the symlink/hoisted/bin paths (`installing/deps-restorer/src/lockfileToHoistedDepGraph.ts:222`). The store location is `node_modules/.pnpm/<id>/node_modules/<name>`, so a traversal `<name>` escapes.\n- The only resolve-time name gate (`resolving/npm-resolver/src/pickPackage.ts:753`) rejects only *unscoped* names containing `/`, so a **scoped** `@x/../..` passes.\n\n## Steps to reproduce\nSelf-contained PoC (real `pnpm@11.9.0`; loopback tarball server; escape target is a throwaway temp dir):\n```\nnpm i pnpm@11.9.0\n# host a tarball whose package.json name = \"@x/\"+\"../\".repeat(25)+\"<abs>/OUTSIDE\"; victim depends on the http URL\npnpm install --ignore-scripts\n```\nConfirmed output (`repro/poc.mjs`, exit 0):\n```\nescape dir is outside the project        : true\nnew file implanted outside node_modules  : true\npre-existing file OVERWRITTEN            : true\n*** CONFIRMED: a tarball dependency wrote & overwrote files OUTSIDE the project during `pnpm install --ignore-scripts` ***\n```\n\n## Remediation\nRoute the isolated-linker import-target joins (`resolvePeers.ts:706`, `deps-resolver/index.ts:614`, `lockfileToDepGraph.ts:233`) through `safeJoinModulesDir` (as the hoisted linker already does), and/or enforce `validate-npm-package-name` on the resolved manifest name (close the scoped-name gap at `pickPackage.ts:753`) so the import target rejects a traversal name and re-asserts containment before any write.","state":0,"publishedAt":"2026-09-02T14:36:59+00:00","modifiedAt":"2026-09-02T14:45:05.9751857+00:00","affected":[{"ecosystem":"npm","name":"pnpm","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"10.34.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"pnpm","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"11.0.0"},{"kind":"fixed","version":"11.11.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/pnpm/pnpm/security/advisories/GHSA-vq4v-j7r6-jq4m","https://nvd.nist.gov/vuln/detail/CVE-2026-82393","https://github.com/pnpm/pnpm/pull/12872","https://github.com/pnpm/pnpm/pull/12890","https://github.com/pnpm/pnpm/commit/51300fd41c5e4c8f47635108e373cc3d1f324fa7","https://github.com/pnpm/pnpm/commit/78e29fe5583a1e5d69ea05e414eff310f78d5ed9","https://github.com/pnpm/pnpm","https://github.com/pnpm/pnpm/releases/tag/v10.34.5","https://github.com/pnpm/pnpm/releases/tag/v11.11.0"],"sourceUrl":"https://github.com/advisories/GHSA-vq4v-j7r6-jq4m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vq4v-j7r6-jq4m","identifiers":["GHSA-vq4v-j7r6-jq4m","CVE-2026-82393"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T19:49:02.2080688+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T19:49:02.2080688+00:00","lastSuccessAt":"2026-11-19T19:49:02.4104946+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:49:02.4104951+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-e926604b00572495d2532e7e16a009d33144d82739d00d5c817145c91beef649","complete":true,"records":429005,"lastAttemptAt":"2026-11-19T19:47:03.5468516+00:00","lastSuccessAt":"2026-11-19T19:47:03.3773964+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:47:03.5468516+00:00","snapshotPublishedAt":"2026-11-19T19:29:05+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-4bfdec5112b243e48c56bc5172ee869c","complete":false,"records":13866,"lastAttemptAt":"2026-11-19T19:58:47.4812903+00:00","lastSuccessAt":"2026-11-19T19:58:47.477+00:00","error":"518 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T19:58:47.477+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13396,"expectedIdentifiers":13914,"failedIdentifiers":518},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T19:49:02.2080688+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T19:49:02.2080688+00:00","lastSuccessAt":"2026-11-19T19:49:02.4114037+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:49:02.411404+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d87b508fe7254e86be9d11625119f28e","complete":true,"records":13878,"lastAttemptAt":"2026-11-19T19:49:15.6570679+00:00","lastSuccessAt":"2026-11-19T19:49:15.653+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:49:15.653+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13914,"expectedIdentifiers":13914,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-7b847de8d346a4b605d25dfaa256e6048ccf033cdf1e65b5fde14a9872a0b2a6","complete":true,"records":9965,"lastAttemptAt":"2026-11-19T19:48:57.4826868+00:00","lastSuccessAt":"2026-11-19T16:46:59.4476531+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:48:57.4826868+00:00","snapshotPublishedAt":"2026-11-19T16:18:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T19:47:03.7252084+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:47:03.7252084+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-144175a7f246d52f4b35e8013958783dc7f5518066becd11cdfe790dd8f37e96","complete":true,"records":3195,"lastAttemptAt":"2026-11-19T19:49:02.1686664+00:00","lastSuccessAt":"2026-11-19T19:49:02.0382337+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:49:02.1686664+00:00","snapshotPublishedAt":"2026-11-19T18:48:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-a1d34507d5acbe17a3a29de77ee1f538c1b64c7595ee398fa4460b04b2528058","complete":true,"records":232772,"lastAttemptAt":"2026-11-19T19:48:57.3318311+00:00","lastSuccessAt":"2026-11-19T19:48:56.3067292+00:00","error":null,"lastVerifiedAt":"2026-11-19T19:48:57.3318311+00:00","snapshotPublishedAt":"2026-11-19T18:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}