CVE-2026-54328
HIGH 7.3CVSS 3.1Pi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
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
- 23 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-379
- Also known as
- GHSA-jfgx-wxx8-mp94
- Sources
- NVDJSONOSV GHSA-jfgx-wxx8-mp94JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @earendil-works/pi-coding-agent | >= 0.74.0, < 0.78.1 | 0.78.1 |
| OSV | npm | @mariozechner/pi-coding-agent | >= 0.50.0, <= 0.73.1 |
References
- https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e · WEB
- https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44 · WEB
- https://github.com/earendil-works/pi/pull/5345 · WEB
- https://github.com/earendil-works/pi/releases/tag/v0.78.1 · WEB
- https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-54328 · ADVISORY
- https://github.com/earendil-works/pi · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jun 2026)