badlogic — pi-mono code injection CVE-2026-5556 exposes AI coding agents

AI relevance: pi-mono is an AI coding agent framework, so remote code injection vulnerabilities directly threaten the security of automated code generation and development workflows that rely on AI assistants.

  • CVE-2026-5556 affects badlogic pi-mono versions 0.58.0 through 0.58.4
  • The vulnerability allows remote code injection via the extension loader system
  • Attackers can exploit the discoverAndLoadExtensions function in packages/coding-agent/src/core/extensions/loader.ts
  • The flaw has a CVSS 4.0 score of 5.3 (Medium severity)
  • Exploitation requires no user interaction and works remotely
  • The vendor was contacted but has not responded or released patches
  • This demonstrates supply chain risks in AI coding agent ecosystems
  • The vulnerability was publicly disclosed on April 5, 2026
  • No confirmed exploits in the wild yet, but proof-of-concept available

Why it matters

AI coding agents like pi-mono represent a growing attack surface as developers increasingly rely on automated code generation. Remote code injection vulnerabilities in these tools can compromise entire development pipelines, potentially leading to supply chain attacks, credential theft, or backdoor insertion in generated code.

What to do

  • Check pi-mono versions: Verify if you're running affected versions (0.58.0-0.58.4)
  • Monitor for patches: Watch for official updates from badlogic
  • Restrict network access: Limit exposure of coding agent services
  • Audit extension loading: Review how extensions are discovered and loaded
  • Consider alternative tools: Evaluate if pi-mono's security posture meets your requirements

Sources