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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-367",
"CWE-732"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54327.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.74.0"
},
{
"fixed": "0.78.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "135fb545f99106a4a249274f129b90bc0a77d347"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.78.1",
"range": [
{
"fixed": "592c34c05643d115d6eed08a6f615999651cfaa3"
}
],
"source": "REFERENCES_TAG"
}
]
}