{"id":"CVE-2026-39891","published":"2026-04-08T20:46:59Z","modified":"2026-04-09T13:49:10Z","title":"PraisonAI has a Template Injection in Agent Tool Definitions","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00594,"percentile":0.42439,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hwg5-x759-7wjg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":8.49},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.5.115"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-09T13:49:06.234674Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonai","vulnerableRanges":["<4.5.115"],"patched":["4.5.115"],"from":["GHSA-hwg5-x759-7wjg","PYSEC-2026-2917"],"provenance":"source"}],"summary":{"text":"PraisonAI, a multi-agent teams system, has a template injection flaw in the tool definitions returned by its create_agent_centric_tools() function (for example acp_create_file), which render file content through a template engine. An attacker who can supply input that reaches agent.start() can have template expressions in that input executed rather than treated as literal text, provided the tools are in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:24Z"},"euvd":{"id":"EUVD-2026-20639","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34955","published":"2026-04-03","fixed":"4.5.97","kev":false,"link":{"from":"CVE-2026-34955","to":"CVE-2026-39891","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.97","toFixed":"4.5.115","daysApart":5}]}},{"cve":"CVE-2026-39889","published":"2026-04-08","fixed":"4.5.115","kev":false},{"cve":"CVE-2026-39890","published":"2026-04-08","fixed":"4.5.115","kev":false},{"cve":"CVE-2026-39891","published":"2026-04-08","fixed":"4.5.115","kev":false},{"cve":"CVE-2026-40156","published":"2026-04-10","fixed":"4.5.128","kev":false,"link":{"from":"CVE-2026-39891","to":"CVE-2026-40156","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.115","toFixed":"4.5.128","daysApart":2}]}},{"cve":"CVE-2026-41496","published":"2026-05-08","fixed":"4.5.149","kev":false},{"cve":"CVE-2026-41497","published":"2026-05-08","fixed":"4.5.149","kev":false}],"package":"PyPI:praisonai"}}