CVE-2026-56838
HIGH 7.8CVSS 3.1PraisonAI recipe.run_stream skips dangerous-tool policy enforcement
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.
- Published
- 23 Oct 2026
- Last modified
- 29 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-693CWE-78CWE-863
- Also known as
- GHSA-v847-hxxw-3pxgPYSEC-2026-3520
- Sources
- NVDJSONOSV GHSA-v847-hxxw-3pxgJSONOSV PYSEC-2026-3520JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | praisonai | >= 4.5.87, < 4.6.59 | 4.6.59 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxg · WEB
- https://github.com/MervinPraison/PraisonAI · PACKAGE
- https://pypi.org/project/praisonai · PACKAGE
- https://github.com/advisories/GHSA-v847-hxxw-3pxg · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-56838 · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 23 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jun 2026)