CVE-2026-24131
January 26, 2026
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.
Affected Packages
https://github.com/pnpm/pnpm.git (GITHUB):
Affected version(s) >=v0.0.1001 <v10.28.2Fix Suggestion:
Update to version v10.28.2pnpm (NPM):
Affected version(s) >=0.0.0-pr4475.1 <10.28.2Fix Suggestion:
Update to version 10.28.2Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.7
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.01