CVE-2026-24131
MEDIUM EPSS 15.5%
Published Jan 26, 20265mo ago · Modified Jun 17, 20261w ago
6.7 CVSS 4.0
Published Jan 26, 2026 5mo ago
Last Modified Jun 17, 2026 1w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction A
Scope X
Threat Intelligence
EPSS Exploit Probability
15.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-22 Path Traversal Resource Mgmt
CWE-732
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| pnpm | pnpm | * | <10.28.2 |
References 3
- github.com https://github.com/pnpm/pnpm/commit/17432ad5bbed5c2e77255ca6d56a1449bbcfd943
- github.com https://github.com/pnpm/pnpm/releases/tag/v10.28.2
- github.com https://github.com/pnpm/pnpm/security/advisories/GHSA-v253-rj99-jwpq
Remediation
- github.com https://github.com/pnpm/pnpm/commit/17432ad5bbed5c2e77255ca6d56a1449bbcfd943