{"id":"CVE-2026-54325","published":"2026-06-23T19:22:55Z","modified":"2026-06-23T19:44:45Z","title":"Pi loads project-local extensions without approval","vendor":"earendil-works","product":"pi","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00165,"percentile":0.03171,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-mqxh-6gq7-558m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/earendil-works/pi/commit/38f18be44727e669eb0a6e2eb8edb51b0232d83c","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/718215bd95b6fc6fa251580d27ea8aab857de390","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/89a92207f1c9303d53d822fd9b0ac21578834cb4","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/ce3a72444e1cc1eaa50475fb3378c7ffbb53ef49","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/ff3e9df5f5b32368c20b0ef553a6834b3dee9350","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/releases/tag/v0.79.0","tags":["x_refsource_MISC"]}],"priority":{"score":3.7,"factors":[{"name":"EPSS percentile","points":0.63},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"earendil-works","affectedVersions":[{"vendor":"earendil-works","product":"pi","versions":["< 0.79.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T19:44:24.627687Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@earendil-works/pi-coding-agent","vulnerableRanges":["<0.79.0"],"patched":["0.79.0"],"from":["GHSA-mqxh-6gq7-558m"],"provenance":"source"}],"summary":{"text":"Pi, the minimal terminal coding harness from earendil-works, loads project-local configuration and extensions from a repository's .pi directory without first asking the user to trust that repository. An attacker who controls a repository can plant executable project-local extension code there, and if a user starts Pi in that working tree, the code runs with the local Pi process's privileges after a single user interaction (launching Pi in that directory), with no clear trust decision offered.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:03Z"},"euvd":{"id":"EUVD-2026-38579","exploited":false,"provenance":"source"}}