7.3
HIGH CVSS 3.1
CVE-2026-54328
Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
Description

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.

INFO

Published Date :

June 23, 2026, 8:16 p.m.

Last Modified :

June 25, 2026, 4:14 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-54328 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
Solution
Update Pi to version 0.78.1 or later to fix predictable temporary path issues.
  • Update Pi to version 0.78.1.
  • Remove old temporary extension packages.
Public PoC/Exploit Available at Github

CVE-2026-54328 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-54328 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-54328 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile

Updated: 3 days ago
1 stars 0 fork 0 watcher
Born at : Feb. 10, 2026, 8:23 p.m. This repo has been linked 69 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-54328 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-54328 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 24, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-54328', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-24T13:37:52.524343Z'}
  • New CVE Received by [email protected]

    Jun. 23, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'earendil-works', 'product': 'pi', 'versions': [{'status': 'affected', 'version': '>= 0.74.0, < 0.78.1'}]}]
    Added Description 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.
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
    Added CWE CWE-379
    Added Reference https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e
    Added Reference https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44
    Added Reference https://github.com/earendil-works/pi/pull/5345
    Added Reference https://github.com/earendil-works/pi/releases/tag/v0.78.1
    Added Reference https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.