CVE-2026-39891
HIGH 8.8CVSS 3.1PraisonAI has Template Injection in Agent Tool Definitions
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.
- Published
- 8 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-hwg5-x759-7wjgPYSEC-2026-2917
- Sources
- NVDJSONOSV GHSA-hwg5-x759-7wjgJSONOSV PYSEC-2026-2917JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | 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 |
| OSV | GitHub | 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 |
| OSV | PyPA | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | praison | praisonaicpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* |
<= 4.5.114 | |
| OSV | PyPI | praisonai | < 4.5.115 | 4.5.115 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-hwg5-x759-7wjg · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39891 · ADVISORY
- https://github.com/MervinPraison/PraisonAI · PACKAGE
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.115 · WEB
- https://pypi.org/project/praisonai · PACKAGE
- https://github.com/advisories/GHSA-hwg5-x759-7wjg · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Apr 2026)