CVE-2026-54327
CVE-2026-54327 · Pi: Race condition in auth.json writes could expose stored credentials
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 2.2 · Low · EPSS 0.1% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
pi
- Versions
- >= 0.74.0, < 0.78.1: Affected
No fix published
@mariozechner/pi-coding-agent npm
- Affected ranges
- SEMVER: ≥ 0.28.0, ≤ 0.73.1
No fix published
@earendil-works/pi-coding-agent npm
- Affected ranges
- SEMVER: ≥ 0.74.0, < 0.78.1
Update to 0.78.1