{"id":"CVE-2026-54325","state":"PUBLISHED","title":"Pi loads project-local extensions without approval","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.","publishedAt":"2026-06-23T19:22:55.043Z","updatedAt":"2026-06-23T19:44:45.699Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["earendil-works pi"],"affected":[{"vendor":"earendil-works","product":"pi","versions":[{"version":"< 0.79.0","status":"affected"}]}],"references":["https://github.com/earendil-works/pi/security/advisories/GHSA-mqxh-6gq7-558m","https://github.com/earendil-works/pi/commit/38f18be44727e669eb0a6e2eb8edb51b0232d83c","https://github.com/earendil-works/pi/commit/718215bd95b6fc6fa251580d27ea8aab857de390","https://github.com/earendil-works/pi/commit/89a92207f1c9303d53d822fd9b0ac21578834cb4","https://github.com/earendil-works/pi/commit/ce3a72444e1cc1eaa50475fb3378c7ffbb53ef49","https://github.com/earendil-works/pi/commit/ff3e9df5f5b32368c20b0ef553a6834b3dee9350","https://github.com/earendil-works/pi/releases/tag/v0.79.0"],"weaknesses":["CWE-829"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54325.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54325","state":"PUBLISHED","datePublished":"2026-06-23T19:22:55.043Z","dateUpdated":"2026-06-23T19:44:45.699Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-12T18:42:02.224Z"},"containers":{"cna":{"title":"Pi loads project-local extensions without approval","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"earendil-works","product":"pi","versions":[{"version":"< 0.79.0","status":"affected"}]}],"references":[{"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-mqxh-6gq7-558m","name":"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","name":"https://github.com/earendil-works/pi/commit/38f18be44727e669eb0a6e2eb8edb51b0232d83c","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/718215bd95b6fc6fa251580d27ea8aab857de390","name":"https://github.com/earendil-works/pi/commit/718215bd95b6fc6fa251580d27ea8aab857de390","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/89a92207f1c9303d53d822fd9b0ac21578834cb4","name":"https://github.com/earendil-works/pi/commit/89a92207f1c9303d53d822fd9b0ac21578834cb4","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/ce3a72444e1cc1eaa50475fb3378c7ffbb53ef49","name":"https://github.com/earendil-works/pi/commit/ce3a72444e1cc1eaa50475fb3378c7ffbb53ef49","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/commit/ff3e9df5f5b32368c20b0ef553a6834b3dee9350","name":"https://github.com/earendil-works/pi/commit/ff3e9df5f5b32368c20b0ef553a6834b3dee9350","tags":["x_refsource_MISC"]},{"url":"https://github.com/earendil-works/pi/releases/tag/v0.79.0","name":"https://github.com/earendil-works/pi/releases/tag/v0.79.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-829","lang":"en","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-23T19:22:55.043Z"},"source":{"advisory":"GHSA-mqxh-6gq7-558m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-23T19:44:24.627687Z","id":"CVE-2026-54325","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-23T19:44:45.699Z"}}]}}}