CVE-2026-54327Pi: Race condition in auth.json writes could expose stored credentials
- 2.2LowCVSS base score
- 0.09%Exploitation in 30 daysEPSS · top 99% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 11 days later
· 11 days later
Published
- 3 days later
· 3 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low2.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
| NVDNVD · Deferred | 3.1 | Low2.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.09% · top 99% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.2.
Affected products
- affected >= 0.74.0, < 0.78.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@earendil-works/pi-coding-agentGHSA-r95r-rj6r-c39x (opens in a new tab)
- npm@mariozechner/pi-coding-agentGHSA-r95r-rj6r-c39x (opens in a new tab)
References
References3
- https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x (opens in a new tab)x_refsource_CONFIRM
- https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347 (opens in a new tab)x_refsource_MISC
- https://github.com/earendil-works/pi/releases/tag/v0.78.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-38582 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-r95r-rj6r-c39x (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-54327)Record last updated .