Skip to content
OpenAdvisories
High · 7.8 CVE-2026-56838 EUVD-2026-108879GHSA-v847-hxxw-3pxgPYSEC-2026-3520

PraisonAI recipe.run_stream skips dangerous-tool policy enforcement

Published Oct 23, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI >= 4.5.87, < 4.6.59 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai >= 4.5.87, < 4.6.59 4.6.59 GHSA-v847-hxxw-3pxg

References