1. Archivio CVE
  2. 2026
  3. CVE-2026-54328

CVE-2026-54328

7.3 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H 7.3 – Alta

Descrizione

Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi versions with temporary npm or git extension package installs used predictable paths under the operating system temporary directory. On Linux-based multi-user systems, a local attacker who can write to the shared temporary directory could prepare the expected package location before another user runs pi with a temporary extension package source. Pi could then load attacker-controlled extension code in the victim user's process. This vulnerability is fixed in 0.78.1.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
earendil-works pi >= 0.74.0, < 0.78.1 –

Tipo di vulnerabilità

CWE-379 Creation of Temporary File in Directory with Insecure Permissions

The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Requisiti Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Sviluppo Try to store sensitive tempfiles in a directory which is not world readable -- i.e., per-user directories.
Sviluppo Avoid using vulnerable temp file functions.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 45 CVE di tipo CWE-379, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org