LiveActive security incident?Get immediate response
CVE Record

CVE-2026-24131: pnpm has Path Traversal via arbitrary file permission modification

pnpm is a package manager. Prior to version 10.28.2, when pnpm processes a package's `directories.bin` field, it uses `path.join()` without validating the result stays within the package root. A malicious npm package can specify `"directories": {"bin": "../../../../tmp"}` to escape the package directory, causing pnpm to chmod 755 files at arbitrary locations. This issue only affects Unix/Linux/macOS. Windows is not affected (`fixBin` gated by `EXECUTABLE_SHEBANG_SUPPORTED`). Version 10.28.2 contains a patch.

MediumCVSS 6.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2026-24131 affects pnpm before 10.28.2 on Unix-like systems. A malicious package can make pnpm change file permissions outside the package directory during install processing. This can expose sensitive local files by making them executable/readable according to chmod behavior. Windows is not affected per the advisory. A patched pnpm release is available.

Executive priority

Treat as a build and developer-environment security update. It is not described as remotely exploitable or actively exploited, but malicious packages could alter permissions on local files. Prioritize patching CI and developer systems because those environments commonly process untrusted dependency metadata.

Technical view

pnpm’s handling of a package directories.bin field used path.join() without confirming the resulting path remained under the package root. This creates path traversal leading to arbitrary chmod 755 operations. The issue maps to CWE-22 and CWE-732. CVSS 4.0 is 6.7 with local attack vector and user interaction required.

Likely exposure

Exposure is most likely in developer workstations, CI runners, and build systems using pnpm versions earlier than 10.28.2 on Linux, macOS, or other Unix-like platforms. Risk depends on installing or processing a malicious package. Windows is listed as not affected.

Exploitation context

Sources do not indicate active exploitation, and the CVE is not listed as KEV in the provided bundle. Exploitation requires pnpm to process a malicious package. The main impact described is unauthorized permission modification of files outside the package directory, not direct code execution.

Researcher notes

The patch is associated with pnpm 10.28.2 and commit 17432ad5bbed5c2e77255ca6d56a1449bbcfd943. Review the advisory and diff for boundary validation around directories.bin path handling. Avoid assuming broader impact beyond chmod permission changes and Unix-like platforms unless new vendor information appears.

Mitigation direction

  • Upgrade pnpm to version 10.28.2 or later.
  • Prioritize Unix/Linux/macOS developer and CI environments using pnpm.
  • Review vendor advisory and release notes for deployment guidance.
  • Restrict installation of untrusted packages in build and developer workflows.

Validation and detection

  • Inventory pnpm versions across developer endpoints and CI runners.
  • Confirm affected systems are running pnpm 10.28.2 or later.
  • Identify Unix-like systems where pnpm processes third-party packages.
  • Review package ingestion controls for untrusted npm dependencies.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-732: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-24131 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.7 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.7CVSS 4.0MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

6.7Medium
CVSS 4.0 vector shape for CVE-2026-24131Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
pnpmpnpm< 10.28.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.