Pi: Race condition in auth.json writes could expose stored credentials
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| earendil-works | pi | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Earendil-works | Pi |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-r95r-rj6r-c39x | Pi Agent: Race condition in Pi auth.json writes could expose stored credentials |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.093% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Earendil-works
Earendil-works pi |
|
| Vendors & Products |
Earendil-works
Earendil-works pi |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Pi: Race condition in auth.json writes could expose stored credentials | |
| Weaknesses | CWE-367 CWE-732 |
|
| References |
| |
| Metrics |
cvssV3_1
|