CyberRota Analysis
AI-GeneratedThe PraisonAI multi-agent system is vulnerable due to its codeMode tool, which improperly executes model-generated JavaScript, allowing attackers to bypass security measures and access the host system's capabilities. This critical vulnerability enables unauthorized file access, environment credential exposure, and execution of operating system commands with elevated privileges. Organizations using versions prior to 1.7.2 should prioritize immediate updates to mitigate potential exploitation risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.