{"id":"CVE-2026-54327","aliases":["GHSA-r95r-rj6r-c39x"],"url":"https://o3.security/vulnerability/CVE-2026-54327","summary":"Pi: Race condition in auth.json writes could expose stored credentials","details":"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.","published":"2026-06-23T19:28:22.503Z","modified":"2026-08-12T03:51:49.074486629Z","cvss":{"score":2.2,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N"},"epss":{"score":0.00093,"percentile":0.00623,"asOf":"2026-09-12"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@mariozechner/pi-coding-agent","fixedVersion":null},{"ecosystem":"npm","name":"@earendil-works/pi-coding-agent","fixedVersion":"0.78.1"}],"fix":{"url":"https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347","label":"earendil-works/pi@135fb54"},"references":[{"type":"WEB","url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54327.json"},{"type":"ADVISORY","url":"https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54327"},{"type":"FIX","url":"https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:49.074486629Z"}}