CyberRota Analysis
AI-GeneratedPraisonAI versions prior to 1.6.58 are vulnerable due to the FileMemory constructor allowing unsanitized user input for the user_id, which can lead to directory traversal attacks. An attacker can exploit this flaw to write JSON data to arbitrary locations within the file system, potentially compromising system integrity and confidentiality. Organizations using affected versions should prioritize upgrading to version 1.6.58 or later to mitigate this high-severity vulnerability.
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 praisonaiagents 1.6.58, the FileMemory constructor joins unsanitized user_id into self.user_path. A caller supplying ../ or path separators can escape the memory directory and write JSON data to arbitrary process-writable locations. The fix sanitizes user_id before constructing self.user_path. This issue is fixed in version 1.6.58.