Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-54327
Published:June 23, 2026
Updated:June 29, 2026
Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi stored API keys and OAuth credentials in auth.json. A race condition in the file write path could briefly create or rewrite this file with permissions derived from the process umask before tightening the file to owner-only permissions. This vulnerability is fixed in 0.78.1.
Affected Packages
https://github.com/earendil-works/pi.git (GITHUB):
Affected version(s) >=v0.0.1 <v0.78.1
Fix Suggestion:
Update to version v0.78.1
@earendil-works/pi-coding-agent (NPM):
Affected version(s) >=0.74.0 <0.78.1
Fix Suggestion:
Update to version 0.78.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
1
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
2.2
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Incorrect Permission Assignment for Critical Resource
Time-of-check Time-of-use (TOCTOU) Race Condition
EPSS
Base Score:
0.07