CVE-2026-56838
PraisonAI recipe.run_stream skips dangerous-tool policy enforcement
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 4.6.59 | praisonai · -128 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-56838 divulgada · CVSS 7.8 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
PraisonAI, a multi-agent teams system, has a flaw in its recipe streaming function (recipe.run_stream) that skips the check blocking dangerous tools such as command execution, so recipes that declare those tools can run even when the caller has not allowed them. The non-streaming recipe.run() path still enforces the restriction, so the bypass affects only the streaming path.
Descripción original del registro (GitHub_M)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypipraisonai |
Corregida | 4.6.59 | -128 d | 4.7.26 no afectada |
4.6.59Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-v847-hxxw-3pxgLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
