Skip to main content
← All vulnerabilities
CVE-2026-54327GHSA-R95R-RJ6R-C39X

Pi: Race condition in auth.json writes could expose stored credentials

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: partial

Summary

Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi stored API keys and OAuth credentials in auth.json. A race condition in the file write path could briefly create or rewrite this file with permissions derived from the process umask before tightening the file to owner-only permissions. This vulnerability is fixed in 0.78.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • earendil-works pi

    From 0.74.0 · fixed in 0.78.1

  • @mariozechner/pi-coding-agentnpm

    From 0.28.0 · through 0.73.1

  • @earendil-works/pi-coding-agentnpm

    From 0.74.0 · fixed in 0.78.1

References 3

GitHub · earendil-works/pi