CVE-2026-39891 PUBLISHED

PraisonAI has a Template Injection in Agent Tool Definitions

Assigner: GitHub_M
Reserved: 07.04.2026 Published: 08.04.2026 Updated: 08.04.2026

PraisonAI is a multi-agent teams system. Prior to 4.5.115, the create_agent_centric_tools() function returns tools (like acp_create_file) that process file content using template rendering. When user input from agent.start() is passed directly into these tools without escaping, template expressions in the input are executed rather than treated as literal text. This vulnerability is fixed in 4.5.115.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor MervinPraison
Product PraisonAI
Versions
  • Version < 4.5.115 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE