CVE-2026-54327

Source
https://cve.org/CVERecord?id=CVE-2026-54327
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54327.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54327
Aliases
Downstream
Published
2026-06-23T19:28:22.503Z
Modified
2026-08-12T03:51:49.074486629Z
Severity
  • 2.2 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Pi: Race condition in auth.json writes could expose stored credentials
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-367",
        "CWE-732"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54327.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/earendil-works/pi

Affected ranges

Type
GIT
Repo
https://github.com/earendil-works/pi
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.74.0"
        },
        {
            "fixed": "0.78.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54327.json"