cvedb.io
CVE-2026-24131
MEDIUM · CVSS 5.5
EPSS exploitation probability: 0%
Published 2026-01-26T22:15:56.830 · Last modified 2026-06-17T10:22:40.880

Summary

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 products

pnpm — pnpm

Does this affect you?

Add your gear to cvedb and we'll alert you only when pnpm ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.