CVE-2026-54328Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
- 7.3HighCVSS base score
- 0.16%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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 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.
Timeline
ID reserved
By GitHub_M
- 11 days later
· 11 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 94% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Affected products
- affected >= 0.74.0, < 0.78.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@earendil-works/pi-coding-agentGHSA-jfgx-wxx8-mp94 (opens in a new tab)
- npm@mariozechner/pi-coding-agentGHSA-jfgx-wxx8-mp94 (opens in a new tab)
References
References5
- https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/earendil-works/pi/pull/5345 (opens in a new tab)x_refsource_MISC
- https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e (opens in a new tab)x_refsource_MISC
- https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44 (opens in a new tab)x_refsource_MISC
- https://github.com/earendil-works/pi/releases/tag/v0.78.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-38580 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jfgx-wxx8-mp94 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-54328)Record last updated .