CVE-2026-40287
PraisonAI has RCE via Automatic tools.py Import
Texto original en inglés · Ver en español
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.5.140 | praisonaiagents · -4 d desde divulgación | |
| Remediación | Parche 4.5.139 | praisonai · -4 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-40287 divulgada · CVSS 8.4 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
PraisonAI is a multi-agent teams system. Versions 4.5.138 and below are vulnerable to arbitrary code execution through automatic, unsanitized import of a tools.py file from the current working directory. Components including call.py (import_tools_from_file()), tool_resolver.py (_load_local_tools()), and CLI tool-loading paths blindly import ./tools.py at startup without any validation, sandboxing, or user confirmation. An attacker who can place a malicious tools.py in the directory where PraisonAI is launched (such as through a shared project, cloned repository, or writable workspace) achieves immediate arbitrary Python code execution in the host environment. This compromises the full PraisonAI process, the host system, and any connected data or credentials. This issue has been fixed in version 4.5.139.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypipraisonaiagents |
Corregida | 1.5.140 | -4 d | 1.7.22 no afectada |
pypipraisonai |
Corregida | 4.5.139 | -4 d | 4.7.26 no afectada |
1.5.1404.5.139Arsenal 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-g985-wjh9-qxxcLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
