CVE-2026-54328
High · 7.3CVSS
7.3
EPSS
0.2%
Published
Jun 23, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @earendil-works/pi-coding-agent | 0.74.0 | 0.78.1 |
| npm | @mariozechner/pi-coding-agent | 0.50.0 | No fix |
Related vulnerabilities
- GHSA-jfgx-wxx8-mp94 Pi Agent: Predictable temporary extension install paths allow local privilege escalation… Same vulnerability
- CVE-2026-54327 Pi is a minimal terminal coding harness. Also affects @earendil-works/pi-coding-agent
- CVE-2026-54326 Pi is a minimal terminal coding harness. Also affects @earendil-works/pi-coding-agent
- CVE-2026-54325 Pi is a minimal terminal coding harness. Also affects @earendil-works/pi-coding-agent
- GHSA-mqxh-6gq7-558m Pi Agent: Pi loads project-local extensions without approval Also affects @earendil-works/pi-coding-agent
- GHSA-r95r-rj6r-c39x Pi Agent: Race condition in Pi auth.json writes could expose stored credentials Also affects @earendil-works/pi-coding-agent
- GHSA-7v5m-pr3q-6453 Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass Also affects @earendil-works/pi-coding-agent
- CVE-2026-85028 Creation of a temporary file in a directory with insecure permissions in the FPGA… CWE-379