CVE-2026-54327CWE-367CWE-732

Pi: Race condition in auth.json writes could expose stored credentials

Low · published June 23, 2026

CVSS v3.1
2.2
EPSS
0%
Percentile
0.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
2.2 · LOW
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00093 · 0.5th percentile
Weaknesses
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition; CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2026-06-23T19:28Z
EPSS history
Timeline
  • 23 JUN 19:28Z
    Pi: Race condition in auth.json writes could expose stored credentials
    cvelistv5