Bug 2433115 (CVE-2026-24131) - CVE-2026-24131 pnpm: pnpm: Arbitrary file permission modification via directory traversal
Summary: CVE-2026-24131 pnpm: pnpm: Arbitrary file permission modification via directo...
Keywords:
Status: NEW
Alias: CVE-2026-24131
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-26 23:01 UTC by OSIDB Bzimport
Modified: 2026-01-27 04:47 UTC (History)
20 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-26 23:01:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.