CVE-2026-54325 PUBLISHED

Pi loads project-local extensions without approval

Assigner: GitHub_M
Reserved: 12.06.2026 Published: 23.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS Score: 4.4

Product Status

Vendor earendil-works
Product pi
Versions
  • Version < 0.79.0 is affected

References

Problem Types

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere CWE