What’s Vulnerable › Vulnerabilities
CVE-2026-54327: Pi: Race condition in auth.json writes could expose stored credentials
- Severity: low (CVSS 2.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-25
- Weakness: CWE-367
Description
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.
Affected products
- earendil-works pi: from 0.74.0, < 0.78.1
References
- https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347
- https://github.com/earendil-works/pi/releases/tag/v0.78.1
- https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x
Get alerted when CVE-2026-54327 or the next vulnerability affects your stack