PatchSiren cyber security CVE debrief
CVE-2026-54328 earendil-works CVE debrief
CVE-2026-54328 affects Pi, a minimal terminal coding harness. Versions from 0.74.0 to 0.78.1 used predictable paths under the operating system's temporary directory for temporary npm or git extension package installs. This vulnerability allows a local attacker who can write to the shared temporary directory to prepare the expected package location before another user runs pi with a temporary extension package source. Consequently, Pi could load attacker-controlled extension code in the victim user's process. The vulnerability is fixed in version 0.78.1. Users should update to this version to mitigate the risk. Additionally, defenders should monitor for suspicious activity in temporary directories and ensure proper access controls are in place.
- Vendor
- earendil-works
- Product
- pi
- CVSS
- HIGH 7.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-23
- Original CVE updated
- 2026-06-25
- Advisory published
- 2026-06-23
- Advisory updated
- 2026-06-25
Who should care
System administrators and users of Pi versions 0.74.0 to 0.78.1 should be aware of this vulnerability. Local attackers could exploit this issue to execute arbitrary code in the context of other users. Therefore, users with shared access to temporary directories on Linux-based multi-user systems are particularly at risk.
Technical summary
The CVE-2026-54328 vulnerability in Pi, a minimal terminal coding harness, arises from the use of predictable paths under the operating system's temporary directory for temporary npm or git extension package installs. This issue affects versions 0.74.0 through 0.78.1. An attacker with write access to the shared temporary directory can prepare the expected package location before another user runs pi with a temporary extension package source, potentially leading to the execution of attacker-controlled code in the victim's process. The vulnerability's CVSS score is 7.3, indicating a high severity level. The CVSS vector is CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, reflecting Local, Low Attack Complexity, Low Privileges Required, and High impacts on Confidentiality, Integrity, and Availability.
Defensive priority
High priority should be given to updating Pi to version 0.78.1 or later. In the meantime, defenders should monitor temporary directories for suspicious activity and enforce strict access controls.
Recommended defensive actions
- Update Pi to version 0.78.1 or later.
- Monitor temporary directories for suspicious activity.
- Enforce strict access controls on temporary directories.
- Review user permissions and limit access to shared temporary directories.
- Implement additional logging and monitoring to detect potential exploitation attempts.
Evidence notes
The CVE-2026-54328 entry in the CVE database and the NVD provide details about this vulnerability. The CVE record and NVD detail pages offer comprehensive information about the affected versions, the nature of the vulnerability, and potential impacts. Additionally, references from GitHub provide insights into the fixes and patches applied in version 0.78.1.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-54328 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-54328
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-54328 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-54328
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e
-
Source reference
Unverified legacy reference
URL: https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44
-
Source reference
Unverified legacy reference
URL: https://github.com/earendil-works/pi/pull/5345
-
Source reference
Unverified legacy reference
URL: https://github.com/earendil-works/pi/releases/tag/v0.78.1
-
Source reference
Unverified legacy reference
URL: https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.