CVE-2026-5556: Badlogic pi-mono code injection in discoverAndLoadExtensions

CVE-2026-5556 · Severity: medium · CVSS 6.3 · Published 2026-04-05

A security vulnerability has been identified in badlogic pi-mono, a coding agent component. An attacker could remotely inject and execute malicious code within the application. This could lead to unauthorized access to data, disruption of services, or full system compromise.

Technologies: Badlogic Pi-Mono. Vendors: Badlogic.

Quick answers

Is CVE-2026-5556 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-5556 being exploited in the wild.
How severe is CVE-2026-5556?
Medium severity, with a CVSS score of 6.3, published 5 April 2026.
Which products and versions are affected?
Badlogic Pi-Mono up to 0.58.4.
Is there a fix for CVE-2026-5556?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-5556 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-5556?
Check whether you run Badlogic Pi-Mono at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A code injection vulnerability exists in the badlogic pi-mono library up to version 0.58.4. The flaw is located in the 'discoverAndLoadExtensions' function within 'packages/coding-agent/src/core/extensions/loader.ts'. By manipulating inputs to this function, a remote attacker with low privileges can achieve arbitrary code execution. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code) and CWE-74 (Improper Neutralization of Special Elements). A public exploit has been disclosed, and as of the advisory date, the vendor has not provided a patch or response.

Affected products

  • badlogic pi-mono up to 0.58.4

Timeline

  • 2026-03-19: disclosed: Initial disclosure on GitHub issue tracker
  • 2026-04-05: advisory: NVD and VulDB publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.