High severity7.3NVD Advisory· Published Jun 23, 2026· Updated Jun 25, 2026
CVE-2026-54328
CVE-2026-54328
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@earendil-works/pi-coding-agentnpm | >= 0.74.0, < 0.78.1 | 0.78.1 |
@mariozechner/pi-coding-agentnpm | >= 0.50.0, <= 0.73.1 | — |
Affected products
1- Range: 0.74.0 - 0.78.1
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-jfgx-wxx8-mp94ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-54328ghsaADVISORY
- github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72envdWEB
- github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44nvdWEB
- github.com/earendil-works/pi/pull/5345nvdWEB
- github.com/earendil-works/pi/releases/tag/v0.78.1nvdWEB
- github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94nvdWEB
News mentions
0No linked articles in our index yet.