CVE Explorer
CVE-2026-54327
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-732","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"pi","vendor":"earendil-works","versions":[{"status":"affected","version":">= 0.74.0, < 0.78.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":2.2,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-732","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/commit/135fb545f99106a4a249274f129b90bc0a77d347"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/references/1
{"name":"https://github.com/earendil-works/pi/releases/tag/v0.78.1","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/references/2
{"name":"https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x","tags":["x_refsource_CONFIRM"],"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-r95r-rj6r-c39x"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8f198bbd67b852beb042f2e3ad5649e4fdef2fceeb75825b746cfdfef441155c · sha256:64fce36b23ad0085… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.