Skip to main content
← All vulnerabilities
CVE-2026-54328GHSA-JFGX-WXX8-MP94

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.78.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • earendil-works pi

    From 0.74.0 · fixed in 0.78.1

  • @earendil-works/pi-coding-agentnpm

    From 0.74.0 · fixed in 0.78.1

  • @mariozechner/pi-coding-agentnpm

    From 0.50.0 · through 0.73.1

References 5

GitHub · earendil-works/pi