# CVE-2026-56838: PraisonAI recipe.run_stream skips dangerous-tool policy enforcement

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T13:53:05.000Z
- Modified: 2026-10-29T14:17:57.370Z
- Also known as: GHSA-v847-hxxw-3pxg, PYSEC-2026-3520
- Weaknesses: CWE-78, CWE-693, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: >= 4.5.87, < 4.6.59
- praisonai (PyPI): from 4.5.87 before 4.6.59

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxg> (exploit, 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)

## Sources

- CVE List: [CVE-2026-56838](https://www.cve.org/CVERecord?id=CVE-2026-56838), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-v847-hxxw-3pxg](https://github.com/advisories/GHSA-v847-hxxw-3pxg), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-56838](https://nvd.nist.gov/vuln/detail/CVE-2026-56838), Public domain, modified 2026-10-29
- PyPA Advisory Database: [PYSEC-2026-3520](https://osv.dev/vulnerability/PYSEC-2026-3520), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-56838 · Whole record: https://cve.day/CVE-2026-56838.json · Rebuilt by cve.day 2026-11-25T22:59:46.878Z
