CVE-2026-5556 Details
Description
A security vulnerability has been detected in badlogic pi-mono up to 0.58.4. This vulnerability affects the function discoverAndLoadExtensions of the file packages/coding-agent/src/core/extensions/loader.ts. The manipulation leads to code injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A remote code execution vulnerability exists in Badlogic Pi-Mono versions through 0.58.4. The issue arises in the extension loading mechanism of the Pi Coding Agent, specifically within the function 'discoverAndLoadExtensions' in 'packages/coding-agent/src/core/extensions/loader.ts'. This vulnerability allows for code injection, as the application automatically loads and executes all TypeScript and JavaScript files from the project-local '.pi/extensions/' directory without any user consent or security checks. The malicious code is executed with full Node.js privileges as soon as the 'pi' command is run in the affected directory, making this a zero-click exploit.
It is recommended to add a confirmation prompt before loading project-local extensions, similar to the Workspace Trust feature in Visual Studio Code. Additionally, project extensions could be disabled by default and require an explicit allowance before use.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 5, 2026CISA-ADP
Assessed Apr 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/August829/CVEP/issues/27 | [email protected] | ExploitIssue TrackingTechnical Analysis |
| https://vuldb.com/submit/782876 | [email protected] | Technical Description |
| https://vuldb.com/vuln/355326 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/355326/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| badlogic pi-mono | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 5, 2026 | New CVE Received | [email protected] |
Volerion