{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54327","id":"CVE-2026-54327","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.","descriptionLong":"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","updated":"2026-10-28T02:31:11.045932789Z","reserved":"2026-06-12T18:42:02.224Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["earendil-works pi"],"affectedProducts":[{"vendor":"earendil-works","product":"pi","defaultStatus":null,"versions":[{"version":">= 0.74.0, < 0.78.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@mariozechner/pi-coding-agent","purl":"pkg:npm/%40mariozechner/pi-coding-agent","ranges":[">=0.28.0 <=0.73.1"],"fixed":[],"advisory":"GHSA-r95r-rj6r-c39x"},{"ecosystem":"npm","name":"@earendil-works/pi-coding-agent","purl":"pkg:npm/%40earendil-works/pi-coding-agent","ranges":[">=0.74.0 <0.78.1"],"fixed":["0.78.1"],"advisory":"GHSA-r95r-rj6r-c39x"}],"cwes":["CWE-367","CWE-732"],"aliases":["GHSA-r95r-rj6r-c39x"],"references":[{"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54327.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54327","tags":["advisory"]},{"url":"https://github.com/earendil-works/pi","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00093,"epssPercentile":0.00546,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54327","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54327","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54327","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r95r-rj6r-c39x","ok":true,"note":"GHSA-r95r-rj6r-c39x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54327","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}