CVE-2026-56838
7.8 HIGHpublic exploit availablePublished 2026-10-23 · Updated 2026-10-29
AI risk analysis
- Summary
- The streaming execution path in PraisonAI bypasses the dangerous-tool policy check enforced by the non-streaming path, allowing recipes that declare execute_command as a required tool to run with elevated privileges when invoked via recipe.run_stream() instead of recipe.run(), leading to potential arbitrary command execution.
- Exploitability
- Exploitation requires an attacker-controlled recipe that declares execute_command in its TEMPLATE.yaml and access to invoke recipe.run_stream() with allow_dangerous_tools=False, which is the default; user interaction is required to trigger the vulnerable path.
- Blast radius
- Successful exploitation could lead to full compromise of the host system via arbitrary command execution by the PraisonAI service account, affecting confidentiality, integrity, and availability as indicated by the CVSS score.
- Detection
- Look for unexpected execution of commands declared in recipe TEMPLATE.yaml files when invoked via run_stream(), especially if no allow_dangerous_tools=True flag is present in logs or configuration; monitor for PraisonAI service account activity executing commands not expected per the recipe's declared tools.
- Prioritized remediation
- Upgrade PraisonAI to version 4.6.59 or later, which patches the missing policy check in the streaming execution path.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
PraisonAI is a multi-agent teams system. From version 4.5.87 to before version 4.6.59, PraisonAI recipe execution blocks default-denied dangerous tools unless the caller explicitly passes allow_dangerous_tools=True. The normal recipe.run() path enforces this with _check_tool_policy(). The streaming path, recipe.run_stream(), loads the same recipe, checks dependencies, and then calls _execute_recipe() without running the dangerous-tool policy check. As a result, a recipe that honestly declares execute_command in TEMPLATE.yaml requires.tools is denied by recipe.run(), but reaches the execution engine through recipe.run_stream() with allow_dangerous_tools=False. This issue has been patched in version 4.6.59.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-78, CWE-693, CWE-863
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-57142PoC
- HIGHCVE-2026-100561PoC
- HIGHCVE-2026-105797PoC
- HIGHCVE-2026-55376PoC
- HIGHCVE-2026-57117PoC
- HIGHCVE-2026-88755PoC
- HIGHCVE-2020-37279PoC
- CRITICALCVE-2020-37282PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.