Medium, CVSS 4.4npmAmendedPublished
Pi Agent: Pi loads project-local extensions without approval
CVE-2026-54325 · GHSA-mqxh-6gq7-558m
- Affected
- npm @earendil-works/pi-coding-agent < 0.79.0
- Fixed in
- 0.79.0· Vendor fix available
- Issue
- Pi loads project-local extensions without approval 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. Info The affected component is Pi's project resource loading path. Before 0.79.0, startup loaded project .pi/settings.json, auto-discovered .pi resources, project package-managed resources, and project instruction files as part of normal session initialization. Project-local extensions were included in the same extension set as user/global extensions and…
Recommended action: Upgrade to 0.79.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.