CVE-2026-54328
Received
Received - Intake
Predictable Temporary Path Vulnerability in Pi Terminal Coding Harness
Publication date: 2026-06-23
Last updated on: 2026-06-23
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| earendil-works | pi | From 0.74.0 (inc) to 0.78.1 (exc) |
| earendil-works | pi | 0.78.1 |
| mariozechner | pi-coding-agent | From 0.50.0 (inc) to 0.73.1 (inc) |
| mariozechner | pi-coding-agent | 0.73.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-379 | 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. |