PT-2026-50492
CVE-2026-54325
·
Published
2026-06-17
·
Updated
2026-10-04
Description by
CVSS 3.1
4.4
MediumMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Pi versions prior to 0.79.0
Description
Pi loads project-local configuration and resources from a repository's
.pi directory without requiring user trust. This includes project-local extensions, which are executable TypeScript or JavaScript modules loaded directly into the Pi process. An attacker controlling a repository can place malicious Pi-specific resources within it; if a user starts Pi from that working tree, the extension code executes with the same privileges as the local Pi process. The affected component is the project resource loading path, which previously initialized .pi/settings.json, project package-managed resources, and project instruction files during session initialization before a trust boundary was established. Because extensions are not sandboxed, they can register commands, tools, and event handlers, allowing access to files, environment variables, credentials, the network, and local tools available to the user.Recommendations
Update Pi to version 0.79.0 or later.
As a temporary workaround, avoid running Pi in untrusted repositories or inspect and remove project-local Pi configuration and resources, specifically project-local extensions and package configuration, before use.
Found an issue in the description? Have something to add? Feel free to write us 👾