{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-57141","published":"2026-09-15T11:17:11.617000Z","last_modified":"2026-09-15T14:45:28.563000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":["mervinpraison"],"products":["mervinpraison/praisonai"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p69m-4f92-2v84","ecosystem":"npm","name":"praisonai","purl":"pkg:npm/praisonai","ranges":[{"introduced":"0","fixed":"1.7.2"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-57141/","html_en":"/en/cve/CVE-2026-57141/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-57141","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-57141"},"untrusted":{"vendor_name":"MervinPraison","product_name":"PraisonAI","desc_en":"PraisonAI is a multi-agent teams system. Prior to 1.7.2, the codeMode tool in src/praisonai-ts/src/tools/builtins/code-mode.ts executes model-generated JavaScript with new Function() and with(sandbox), while a regular-expression blocklist can be bypassed with Function('return this')() to recover the global object and by constructing the child_process module name dynamically. An attacker who can influence the code argument can access host process capabilities, read or write files, obtain environment credentials, and execute operating-system commands with the PraisonAI process privileges. This issue is fixed in version 1.7.2.","affected":[{"untrusted_vendor":"MervinPraison","untrusted_product":"PraisonAI","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"67d4259baab47243d131d9d341ea52f8","generated":"2026-11-26T23:26:59.551746Z","es":{"untrusted_title":"Ejecución remota de código sin autenticación en PraisonAI","untrusted_summary":"PraisonAI anterior a la versión 1.7.2 ejecuta código JavaScript generado por modelos sin validación segura, permitiendo a un atacante eludir el blocklist de expresiones regulares mediante Function('return this')() para acceder al objeto global. Un atacante que pueda influir en el argumento de código puede ejecutar comandos del sistema operativo, leer o escribir archivos y acceder a credenciales de entorno con los privilegios del proceso PraisonAI."},"en":{"untrusted_title":"Remote Code Execution without Authentication in PraisonAI","untrusted_summary":"PraisonAI prior to version 1.7.2 executes model-generated JavaScript without secure validation, allowing an attacker to bypass the regular-expression blocklist using Function('return this')() to access the global object. An attacker who can influence the code argument can execute operating-system commands, read or write files, and access environment credentials with PraisonAI process privileges."},"remediation":{"status":"fix","fixed_versions":["1.7.2"],"untrusted_action_es":"Actualiza PraisonAI a la versión 1.7.2 o superior en tu entorno npm.","untrusted_action_en":"Update PraisonAI to version 1.7.2 or later in your npm environment.","vendor_url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-p69m-4f92-2v84"},"reviewed":false},"references":[{"url":"https://github.com/MervinPraison/PraisonAI/commit/709a0387853709a5e2f2c34680fa64cada252c27","tags":[]},{"url":"https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.60","tags":[]},{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-p69m-4f92-2v84","tags":[]}]}}