Read the docs
TI-2026-39220 Aliases CVE-2026-54325GHSA-mqxh-6gq7-558m

Pi loads project-local extensions without approval

Priority LOW 20CWE-829Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-829.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00165 5th percentileScored 2026-11-07
Fix Fixed pi (earendil-works): 0.79.0@earendil-works/pi-coding-agent (npm): 0.79.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
earendil-workspibefore 0.79.00.79.0Patch availableCNA
—@earendil-works/pi-coding-agent (npm)before 0.79.00.79.0Patch availableGHSA-mqxh-6gq7-558m
  • pi Vendorearendil-works Affected before 0.79.0 Fixed in 0.79.0 Patch available CNA
  • @earendil-works/pi-coding-agent (npm) Vendor— Affected before 0.79.0 Fixed in 0.79.0 Patch available GHSA-mqxh-6gq7-558m

Remediation

  • Fix · CNA pi (earendil-works) Fixed in 0.79.0
  • Fix · GHSA-mqxh-6gq7-558m @earendil-works/pi-coding-agent (npm) Fixed in 0.79.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54325
  2. 2026-10-03 Alias added: GHSA-mqxh-6gq7-558m

References

  • TI-2026-39223 Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts CVSS 3.1HIGH 7.3
  • TI-2026-39221 Pi: Potential XSS in HTML session exports via Markdown URL sanitization bypass CVSS 3.1LOW 2.5
  • TI-2026-39222 Pi: Race condition in auth.json writes could expose stored credentials CVSS 3.1LOW 2.2

Sources