CVE-2026-34934 is a critical vulnerability in PraisonAI, a multi-agent teams system, with a CVSS score of 9.8. The vulnerability exists in the get_all_user_threads function, which constructs raw SQL queries using f-strings with unescaped thread IDs fetched from the database. An attacker can store a malicious thread ID via update_thread, and when the application loads the thread list, the injected payload executes and grants full database access. This issue has been patched in version 4.5.90. Users of PraisonAI versions prior to 4.5.90 should apply the patch to prevent exploitation.
CVE-2026-34935 is an OS command injection vulnerability in PraisonAI's MCPHandler. The `--mcp` CLI argument is passed to `shlex.split()` and then to `anyio.open_process()` without validation, allowing arbitrary OS command execution. This issue was fixed in version 4.5.69 by introducing a command allowlist. Affected PraisonAI deployments using the `--mcp` argument should assess exposure and prioritize upgrading to version 4.5.69 or later. The vulnerability allows arbitrary OS command execution as the process user due to a lack of validation, allowlist checks, or sanitization in the call chain from `cli/features/mcp.py` to `mcp/client/stdio/__init__.py`.
A critical vulnerability exists in the `praisonai-agents` package, specifically in the `execute_code()` function, which can be exploited by passing a custom `str` subclass with an overridden `startswith()` method. This allows for a sandbox escape, potentially leading to arbitrary OS command execution on the host. The vulnerability has a CVSS score of 10 and is considered critical.