{"id":"CVE-2026-56838","published":"2026-10-23T11:58:01Z","modified":"2026-10-29T13:53:23Z","title":"PraisonAI recipe.run_stream skips dangerous-tool policy enforcement","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00146,"percentile":0.03932,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":0.79},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":[">= 4.5.87, < 4.6.59"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T13:52:31.231130Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonai","vulnerableRanges":[">=4.5.87, <4.6.59"],"patched":["4.6.59"],"from":["GHSA-v847-hxxw-3pxg","PYSEC-2026-3520"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-108879","exploited":false,"provenance":"source"}}