Pi loads project-local extensions without approval
Summary
| CVE | CVE-2026-54325 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-23 20:16:49 UTC |
| Updated | 2026-06-23 21:17:02 UTC |
| Description | Pi is a minimal terminal coding harness. Pi before 0.79.0 loaded project-local configuration and resources from a repository's .pi directory without first asking the user to trust that repository. This included project-local extensions, which are executable TypeScript or JavaScript modules loaded into the Pi process. An attacker who controls a repository could place Pi-specific project resources in that repository. If a user then started Pi from that working tree, the project-local extension code could run with the same privileges as the local Pi process without the user having a convenient way to make a trust decision. This vulnerability is fixed in 0.79.0. |
Risk And Classification
Primary CVSS: v3.1 4.4 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Problem Types: CWE-829 | CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.4 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.4 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Earendil-works | Pi | affected < 0.79.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/earendil-works/pi/commit/38f18be44727e669eb0a6e2eb8edb51b0232... | [email protected] | github.com | |
| github.com/earendil-works/pi/commit/718215bd95b6fc6fa251580d27ea8aab857d... | [email protected] | github.com | |
| github.com/earendil-works/pi/security/advisories/GHSA-mqxh-6gq7-558m | [email protected] | github.com | |
| github.com/earendil-works/pi/commit/89a92207f1c9303d53d822fd9b0ac2157883... | [email protected] | github.com | |
| github.com/earendil-works/pi/commit/ce3a72444e1cc1eaa50475fb3378c7ffbb53... | [email protected] | github.com | |
| github.com/earendil-works/pi/releases/tag/v0.79.0 | [email protected] | github.com | |
| github.com/earendil-works/pi/commit/ff3e9df5f5b32368c20b0ef553a6834b3dee... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.