CVE-2026-54328CWE-379

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

High · published June 23, 2026

CVSS v3.1
7.3
EPSS
0%
Percentile
5.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00164 · 5.3th percentile
Weakness
CWE-379 · Creation of Temporary File in Directory with Insecure Permissions
Published
2026-06-23T19:25Z
EPSS history
Timeline
  • 23 JUN 19:25Z
    Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
    cvelistv5