CVE-2026-56838

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

No configuration.

History

29 Oct 2026, 14:17

Type Values Removed Values Added
References () https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxg - () https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxg -

23 Oct 2026, 12:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-23 12:18

Updated : 2026-10-29 14:17


NVD link : CVE-2026-56838

Mitre link : CVE-2026-56838

CVE.ORG link : CVE-2026-56838


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-693

Protection Mechanism Failure

CWE-863

Incorrect Authorization