{"answers":{"affected":"4 open source packages ship an affected version, including pnpm.","exploited":"There is no known exploitation of CVE-2026-82392 in the wild and no public exploit code.","fix":"Upgrade pnpm to a fixed version for your release line: 10.34.5 or 11.11.0.","what":"CVE-2026-82392 is a high-severity path traversal vulnerability in pnpm, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-82392 and fix it if it is affected.\n\nWhat it is: CVE-2026-82392 is a high-severity path traversal vulnerability in pnpm, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-82392 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pnpm (npm): affected all versions; fixed in 10.34.5\n- pnpm (npm): affected all versions; fixed in 10.34.5\n- pnpm (npm): affected from 11.0.0; fixed in 11.11.0\n- pnpm (npm): affected from 11.0.0; fixed in 11.11.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-82392/ (Markdown: https://insights.sbomify.com/CVE-2026-82392/index.md)","id":"CVE-2026-82392","markdown":"https://insights.sbomify.com/CVE-2026-82392/index.md","name":"CVE-2026-82392","record":{"aliases":["GHSA-c59q-g84q-2gj5","MINI-q5hw-43wp-pc9v"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"pnpm package manager","requires_auth":"none","summary":"Attackers can write files outside node_modules via malicious lockfiles, potentially executing code if build scripts are enabled.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph","id":"CVE-2026-82392","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":7,"next":{"headline":"pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install","id":"CVE-2026-82393"},"packages":[{"ecosystem":"npm","fixed":["10.34.5"],"introduced":["0"],"last_affected":[],"package":"pnpm","purl":null,"source":"GHSA-c59q-g84q-2gj5"},{"ecosystem":"npm","fixed":["10.34.5"],"introduced":["0"],"last_affected":[],"package":"pnpm","purl":"pkg:npm/pnpm","source":"GHSA-c59q-g84q-2gj5"},{"ecosystem":"npm","fixed":["11.11.0"],"introduced":["11.0.0"],"last_affected":[],"package":"pnpm","purl":null,"source":"GHSA-c59q-g84q-2gj5"},{"ecosystem":"npm","fixed":["11.11.0"],"introduced":["11.0.0"],"last_affected":[],"package":"pnpm","purl":"pkg:npm/pnpm","source":"GHSA-c59q-g84q-2gj5"}],"prev":{"headline":"Cross-session AES key confusion in the Espressif ESP32 hardware crypto driver","id":"CVE-2026-82390"},"products":["pnpm"],"published":"2026-08-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["pnpm"]},"summary":"Attackers can write files outside node_modules via malicious lockfiles, potentially executing code if build scripts are enabled.","url":"https://insights.sbomify.com/CVE-2026-82392/"}