CVE-2026-39891
PraisonAI has a Template Injection in Agent Tool Definitions
HIGH 8.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.56 % · percentile 46 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
Description
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.
Weaknesses (CWE)
- CWE-94 — Code Injection
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-hwg5-x759-7wjg — PraisonAI has Template Injection in Agent Tool Definitions
- PYSEC-2026-2917 — PraisonAI has Template Injection in Agent Tool Definitions
European references
- ENISA EUVD · EUVD-2026-20639
- GCVE · GCVE-0-2026-39891
Affected configurations (NVD CPE)
cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*≤ 4.5.114
Affected products
| Product | Versions |
|---|---|
| MervinPraison · PraisonAI | affected < 4.5.115 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |