CVE-2026-54327
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 3.1
- 2.2
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N - EPSS
- 0.09% chance of exploitation in the next 30 days; higher than 0% of CVEs (scores of 2026-10-25)
- CWEs
- CWE-367, CWE-732
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-r95r-rj6r-c39x | npm | @mariozechner/pi-coding-agent | >=0.28.0 <=0.73.1 | no fix published |
| GHSA-r95r-rj6r-c39x | npm | @earendil-works/pi-coding-agent | >=0.74.0 <0.78.1 | 0.78.1 |