Skip to content
Fencer Intel
high 7.3

CVE-2026-54328 json

Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts

published 5mo ago modified 17d ago also EUVD-2026-38580 , GHSA-jfgx-wxx8-mp94

cvss
7.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 5%
public exploits
0
none known

Summary

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.

Patch / fix

Is CVE-2026-54328 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
4mo ago

Exploit prediction

0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
GitHub 3.1 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm @earendil-works/pi-coding-agent
>=0.74.0, <0.78.1
0.78.1
npm @mariozechner/pi-coding-agent
>=0.50.0, <=0.73.1
no fix listed

Affected products

  • earendil-works pi

Classification

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

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of earendil-works/pi published their own advisory on GitHub. Reviewed sources take precedence over it.