CVE-2026-54328

HIGH

Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.3
EPSS 0.0011
EPSS Percentile 1.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-379
Status published
Products (1)
earendil-works/pi >= 0.74.0, < 0.78.1
Published Jun 23, 2026
Tracked Since Jun 24, 2026