CVE-2026-54327
Low · 2.2CVSS
2.2
EPSS
0.1%
Published
Jun 23, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @earendil-works/pi-coding-agent | 0.74.0 | 0.78.1 |
| npm | @mariozechner/pi-coding-agent | 0.28.0 | No fix |
Related vulnerabilities
- GHSA-r95r-rj6r-c39x Pi Agent: Race condition in Pi auth.json writes could expose stored credentials Same vulnerability
- CVE-2026-54326 Pi is a minimal terminal coding harness. Also affects @earendil-works/pi-coding-agent
- CVE-2026-54328 Pi is a minimal terminal coding harness. Also affects @earendil-works/pi-coding-agent
- CVE-2026-54325 Pi is a minimal terminal coding harness. Also affects @earendil-works/pi-coding-agent
- GHSA-mqxh-6gq7-558m Pi Agent: Pi loads project-local extensions without approval Also affects @earendil-works/pi-coding-agent
- GHSA-jfgx-wxx8-mp94 Pi Agent: Predictable temporary extension install paths allow local privilege escalation… Also affects @earendil-works/pi-coding-agent
- GHSA-7v5m-pr3q-6453 Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass Also affects @earendil-works/pi-coding-agent
- CVE-2026-53613 util-linux is a random collection of Linux utilities. CWE-367