CVE-2026-54328
Published:June 23, 2026
Updated:June 29, 2026
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
https://github.com/earendil-works/pi.git (GITHUB):
Affected version(s) >=v0.0.1 <v0.78.1Fix Suggestion:
Update to version v0.78.1@earendil-works/pi-coding-agent (NPM):
Affected version(s) >=0.74.0 <0.78.1Fix Suggestion:
Update to version 0.78.1Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Creation of Temporary File in Directory with Insecure Permissions
EPSS
Base Score:
0.11