Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

CVE-2026-54328: CWE-379: Creation of Temporary File in Directory with Insecure Permissions in earendil-works pi

0
High
VulnerabilityCVE-2026-54328cvecve-2026-54328cwe-379
Published: 06/23/2026 (06/23/2026, 19:25:04 UTC)
Source: CVE Database V5
Vendor/Project: earendil-works
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected software

Affected versions
>=0.74.0 <0.78.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 14:09:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses