cve.bz

CVE-2026-82393 pnpm pnpm: Path traversal

7.5 highEPSS 0.6%Fix available

High (7.5) in pnpm pnpm. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in pnpm 10.34.5, 11.11.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-73 External Control of File Name or Path
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection, A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • pnpm (npm): fixed in 10.34.5, 11.11.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-82393 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-82393?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-82393?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-82393 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
pnpm< 10.34.5
pnpm>= 11.0.0, < 11.11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vq4v-j7r6-jq4mnpmpnpm<10.34.510.34.5
GHSA-vq4v-j7r6-jq4mnpmpnpm>=11.0.0 <11.11.011.11.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in pnpm allows arbitrary file write and code execution through a path traversal flaw during tarball dependency installation. An attacker can craft a malicious package.json manifest with a scoped path traversal to overwrite arbitrary files outside the `node_modules` directory, even when `--ignore-scripts` is used. This could lead to system compromise by replacing critical files like shell startup scripts or Git hooks in Red Hat environments where pnpm is used to manage untrusted packages.

Red Hat's mitigation

To mitigate this issue, Red Hat recommends avoiding the installation of untrusted or unverified pnpm packages. When installing pnpm dependencies, ensure that the source is trusted and that the integrity of the packages is verified. If possible, execute pnpm install operations within isolated and minimally privileged environments, such as containers with restricted filesystem access, to limit the potential blast radius of any exploitation.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7amq-broker-bin.zipNot affected
Red Hat AMQ Broker 7amq-broker-maven-repository.zipNot affected
Red Hat Build of Keycloakkeycloak-operator.redhat-00001.zipNot affected
Red Hat Build of Keycloakrhbk-quarkus-dist.zipNot affected
Red Hat Hardened ImagesjaegerNot affected
Red Hat Hardened Imagesprometheus3.13Not affected
Red Hat JBoss Enterprise Application Platform 8jboss-eap.1-runtime-maven-repository.zipNot affected
Red Hat JBoss Enterprise Application Platform 8jboss-eap-runtime-maven-repository.zipNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap.1-runtime-maven-repository.zipNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap-runtime-maven-repository.zipNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-82393.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High
  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-73.

References

Check your stackJSON