CVE-2026-54327 json
Pi: Race condition in auth.json writes could expose stored credentials
published 5mo ago modified 17d ago also EUVD-2026-38582 , GHSA-r95r-rj6r-c39x
- cvss
- 2.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 0%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @earendil-works/pi-coding-agent 0.78.1
Is CVE-2026-54327 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.09% chance of exploitation in the next 30 days, higher than 0% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 2.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @mariozechner/pi-coding-agent | >=0.28.0, <=0.73.1 |
no fix listed |
| npm | @earendil-works/pi-coding-agent | >=0.74.0, <0.78.1 |
0.78.1 |
Affected products
- earendil-works pi
Classification
References
-
github.com
/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347
web
-
github.com
/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x
web, advisory
-
github.com
/earendil-works/pi/releases/tag/v0.78.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-54327
advisory
-
github.com
/earendil-works/pi
package
Sources
- CVE List CVE-2026-54327
- GitHub Advisory GHSA-r95r-rj6r-c39x
- NVD CVE-2026-54327
- Maintainer advisory GHSA-r95r-rj6r-c39x
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of earendil-works/pi published their own advisory on GitHub. Reviewed sources take precedence over it.