CVE-2026-54328: CWE-379: Creation of Temporary File in Directory with Insecure Permissions in earendil-works pi
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.
AI Analysis
Technical Summary
CVE-2026-54328 is a CWE-379 vulnerability affecting earendil-works pi versions from 0.74.0 until 0.78.1. The vulnerability arises because Pi uses predictable temporary file paths for npm or git extension package installs under the operating system's temporary directory. On Linux multi-user systems, a local attacker with write permissions to the shared temporary directory can preemptively create files at these predictable locations. When another user runs Pi with a temporary extension package source, Pi may load the attacker-controlled extension code, leading to code execution within the victim user's process. The vulnerability is resolved in version 0.78.1.
Potential Impact
Successful exploitation allows a local attacker with write access to the shared temporary directory to execute arbitrary code in the context of another user running Pi with temporary extension packages. This can lead to full compromise of the victim user's process, including confidentiality, integrity, and availability impacts as indicated by the CVSS score of 7.3 (high).
Mitigation Recommendations
This vulnerability is fixed in Pi version 0.78.1. Users should upgrade to version 0.78.1 or later to remediate this issue. Patch status is not explicitly confirmed beyond this fix version, so users should verify with the vendor advisory for the latest remediation guidance.
CVE-2026-54328: CWE-379: Creation of Temporary File in Directory with Insecure Permissions in earendil-works pi
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 v3.1
Score 7.3high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54328 is a CWE-379 vulnerability affecting earendil-works pi versions from 0.74.0 until 0.78.1. The vulnerability arises because Pi uses predictable temporary file paths for npm or git extension package installs under the operating system's temporary directory. On Linux multi-user systems, a local attacker with write permissions to the shared temporary directory can preemptively create files at these predictable locations. When another user runs Pi with a temporary extension package source, Pi may load the attacker-controlled extension code, leading to code execution within the victim user's process. The vulnerability is resolved in version 0.78.1.
Potential Impact
Successful exploitation allows a local attacker with write access to the shared temporary directory to execute arbitrary code in the context of another user running Pi with temporary extension packages. This can lead to full compromise of the victim user's process, including confidentiality, integrity, and availability impacts as indicated by the CVSS score of 7.3 (high).
Mitigation Recommendations
This vulnerability is fixed in Pi version 0.78.1. Users should upgrade to version 0.78.1 or later to remediate this issue. Patch status is not explicitly confirmed beyond this fix version, so users should verify with the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T18:42:02.224Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3be197eed863c81eeb9980
Added to database: 06/24/2026, 13:54:31 UTC
Last enriched: 06/24/2026, 14:09:09 UTC
Last updated: 06/24/2026, 14:29:09 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.