Skip to content
OpenAdvisories
High · 7.3 CVE-2026-54328 EUVD-2026-38580GHSA-jfgx-wxx8-mp94

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

Published Jun 23, 2026 · Updated Jun 24, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
earendil-works pi >= 0.74.0, < 0.78.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @earendil-works/pi-coding-agent >= 0.74.0, < 0.78.1 0.78.1 GHSA-jfgx-wxx8-mp94
npm @mariozechner/pi-coding-agent >= 0.50.0, <= 0.73.1 — GHSA-jfgx-wxx8-mp94

References