CVE-2026-54328 json
Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
published 2026-06-17 4 mo ago modified 2026-10-25 14 d ago also GHSA-jfgx-wxx8-mp94 , EUVD-2026-38580
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @earendil-works/pi-coding-agent 0.78.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @earendil-works/pi-coding-agent | >=0.74.0, <0.78.1 |
0.78.1 |
| npm | @mariozechner/pi-coding-agent | >=0.50.0, <=0.73.1 |
no fix listed |
Affected products
- earendil-works pi
Classification
- Weakness
-
- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
References
-
github.com
/earendil-works/pi/pull/5345
web
-
github.com
/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e
web
-
github.com
/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44
web
-
github.com
/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94
web
-
github.com
/earendil-works/pi/releases/tag/v0.78.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-54328
advisory
-
github.com
/earendil-works/pi
package
Sources
- CVE List CVE-2026-54328
- GitHub Advisory GHSA-jfgx-wxx8-mp94
- NVD CVE-2026-54328
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.