> CVE-2026-54327 [LOW]

« BACK_TO_HOME
PUBLISHED
2026-06-23 20:16
MODIFIED
2026-06-23 20:16
CVSS_SCORE V3
2.2
EPSS (Prob. Exploit)
0.09%
Top 99.5%
DATA SOURCES:
NVD 🔗 2026-06-23 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
EXPLOITABILITY
0.8
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-367 CWE-732

> CWE DETAILED DESCRIPTIONS

CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition - The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. | CWE-732: Incorrect Permission Assignment for Critical Resource - The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

> GITHUB SECURITY ADVISORY

GHSA-r95r-rj6r-c39x LOW

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

AFFECTED PACKAGES:
NPM / @earendil-works/pi-coding-agent
>= 0.74.0, < 0.78.1
Fixed in: 0.78.1
NPM / @mariozechner/pi-coding-agent
>= 0.28.0, <= 0.73.1

> HISTORIQUE DES MODIFICATIONS

Première apparition
23/06/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition - The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in...
Total des modifications: 1 Dernière mise à jour: 4 months ago

> REFERENCES

https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77...
https://github.com/earendil-works/pi/releases/tag/v0.78.1
https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x
« BACK_TO_HOME