{"id":"CVE-2026-54327","revision":"6cd765797505441790ac1cc27e65805e","records":[{"revision":"6cd765797505441790ac1cc27e65805e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54327","aliases":[],"title":"Pi: Race condition in auth.json writes could expose stored credentials","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.","state":0,"publishedAt":"2026-06-23T19:28:22.503+00:00","modifiedAt":"2026-06-26T18:09:58.763+00:00","affected":[{"ecosystem":"Vendor product","name":"pi","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"earendil-works\",\n                    \"product\": \"pi\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.74.0, < 0.78.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","score":2.2,"severity":"LOW"}],"references":["https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x","https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347","https://github.com/earendil-works/pi/releases/tag/v0.78.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54327","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54327","identifiers":["CVE-2026-54327"]},"retained":false,"historicalAffected":[]}],"coverage":[]}