{"id":"CVE-2026-54328","summary":"Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts","details":"Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi versions with temporary npm or git extension package installs used predictable paths under the operating system temporary directory. On Linux-based multi-user systems, a local attacker who can write to the shared temporary directory could prepare the expected package location before another user runs pi with a temporary extension package source. Pi could then load attacker-controlled extension code in the victim user's process.  This vulnerability is fixed in 0.78.1.","aliases":["GHSA-jfgx-wxx8-mp94"],"modified":"2026-08-12T03:51:11.699723799Z","published":"2026-06-23T19:25:04.051Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-379"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54328.json"},"references":[{"type":"WEB","url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54328.json"},{"type":"ADVISORY","url":"https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54328"},{"type":"FIX","url":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e"},{"type":"FIX","url":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44"},{"type":"FIX","url":"https://github.com/earendil-works/pi/pull/5345"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/earendil-works/pi","events":[{"introduced":"1eee081e29c1323c40b98db11d0a62b919831881"},{"fixed":"a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e"},{"fixed":"ea3465a8e371a12d0167a06b60f93878e3a3df44"},{"fixed":"592c34c05643d115d6eed08a6f615999651cfaa3"}],"database_specific":{"extracted_events":[{"introduced":"0.74.0"},{"fixed":"0.78.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54328.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}