CVE-2026-54327
Full vulnerability record from the local CVENow database.
Description
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.
Severity
LOW
CVSS score
2.2
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-23 20:16:49.473000
Last modified
2026-10-25 23:10:00.167000
View original CVE JSON
{
"id": "CVE-2026-54327",
"sourceIdentifier": "[email protected]",
"published": "2026-06-23T20:16:49.473",
"lastModified": "2026-10-25T23:10:00.167",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Pi es un arnés de codificación de terminal mínimo. Desde la versión 0.74.0 hasta la 0.78.1, Pi almacenaba claves de API y credenciales de OAuth en auth.json. Una condición de carrera en la ruta de escritura del archivo podría crear o reescribir brevemente este archivo con permisos derivados del umask del proceso antes de restringir el archivo a permisos de solo propietario. Esta vulnerabilidad está corregida en la versión 0.78.1."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "earendil-works",
"product": "pi",
"versions": [
{
"version": ">= 0.74.0, < 0.78.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N",
"baseScore": 2.2,
"baseSeverity": "LOW",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 0.8,
"impactScore": 1.4
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-06-26T18:09:06.999786Z",
"id": "CVE-2026-54327",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-367"
},
{
"lang": "en",
"value": "CWE-732"
}
]
}
],
"references": [
{
"url": "https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347",
"source": "[email protected]"
},
{
"url": "https://github.com/earendil-works/pi/releases/tag/v0.78.1",
"source": "[email protected]"
},
{
"url": "https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x",
"source": "[email protected]"
}
]
}