{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54328","id":"CVE-2026-54328","title":"Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts","description":"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 extensio","descriptionLong":"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.","published":"2026-06-23T19:25:04.051Z","updated":"2026-10-28T02:31:00.953905578Z","reserved":"2026-06-12T18:42:02.224Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["earendil-works pi"],"affectedProducts":[{"vendor":"earendil-works","product":"pi","defaultStatus":null,"versions":[{"version":">= 0.74.0, < 0.78.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@earendil-works/pi-coding-agent","purl":"pkg:npm/%40earendil-works/pi-coding-agent","ranges":[">=0.74.0 <0.78.1"],"fixed":["0.78.1"],"advisory":"GHSA-jfgx-wxx8-mp94"},{"ecosystem":"npm","name":"@mariozechner/pi-coding-agent","purl":"pkg:npm/%40mariozechner/pi-coding-agent","ranges":[">=0.50.0 <=0.73.1"],"fixed":[],"advisory":"GHSA-jfgx-wxx8-mp94"}],"cwes":["CWE-379"],"aliases":["GHSA-jfgx-wxx8-mp94"],"references":[{"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/earendil-works/pi/pull/5345","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54328.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54328","tags":["advisory"]},{"url":"https://github.com/earendil-works/pi","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00164,"epssPercentile":0.05718,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54328","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54328","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54328","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jfgx-wxx8-mp94","ok":true,"note":"GHSA-jfgx-wxx8-mp94"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54328","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}