CVEvulnerability

CVE-2026-54327

2.2 LOW Published 2026-06-23 Modified 2026-10-25 Official page ↗
Status
Deferred
Published
2026-06-23
Last modified
2026-10-25
Assigner
[email protected]
CVSS 3.1 ([email protected])
2.2 LOW — CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
Weaknesses
CWE-367, CWE-732

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.

Related

Weakness · CWE (2)

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References