Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M

CVE-2026-39891PraisonAI has a Template Injection in Agent Tool Definitions

High 8.8

In plain English

A high-severity code injection in PraisonAI from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.6%top 52.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpraisonai4.5.115GHSA-hwg5-x759-7wjg
PyPIpraisonai4.5.115PYSEC-2026-2917

Affected products (as reported)

VendorProductVersions
MervinPraison PraisonAI < 4.5.115

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References