{"id":"CVE-2026-56838","revision":"760081ba14ce4d42bb5e9fe8bfde7307","records":[{"revision":"760081ba14ce4d42bb5e9fe8bfde7307","observedAt":"2026-10-23T16:01:20.601+00:00","statement":{"source":"cve-program","id":"CVE-2026-56838","aliases":[],"title":"PraisonAI recipe.run_stream skips dangerous-tool policy enforcement","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.","state":0,"publishedAt":"2026-10-23T11:58:01.475+00:00","modifiedAt":"2026-10-23T11:58:01.475+00:00","affected":[{"ecosystem":"Vendor product","name":"PraisonAI","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"MervinPraison\",\n                    \"product\": \"PraisonAI\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 4.5.87, < 4.6.59\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxg"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-56838","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-56838","identifiers":["CVE-2026-56838"]},"retained":false,"historicalAffected":[]}],"coverage":[]}