{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-24131","published":"2026-01-26T22:15:56.830000Z","last_modified":"2026-06-17T10:22:40.880000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.7,"severity":"MEDIUM","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/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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22","CWE-732"],"cpes":[{"criteria":"cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*","part":"a","vendor":"pnpm","product":"pnpm","version_end_excluding":"10.28.2"}],"cpes_truncated":false,"vendors":["pnpm"],"products":["pnpm/pnpm"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-v253-rj99-jwpq","ecosystem":"npm","name":"pnpm","purl":"pkg:npm/pnpm","ranges":[{"introduced":"0","fixed":"10.28.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":40,"links":{"html_es":"/es/cve/CVE-2026-24131/","html_en":"/en/cve/CVE-2026-24131/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-24131","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-24131"},"untrusted":{"vendor_name":"Pnpm","product_name":"Pnpm","desc_en":"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":[{"untrusted_vendor":"pnpm","untrusted_product":"pnpm","versions":[]}],"references":[{"url":"https://github.com/pnpm/pnpm/commit/17432ad5bbed5c2e77255ca6d56a1449bbcfd943","tags":["Patch"]},{"url":"https://github.com/pnpm/pnpm/releases/tag/v10.28.2","tags":["Release Notes"]},{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-v253-rj99-jwpq","tags":["Exploit","Vendor Advisory"]}]}}