CVE-2026-34934: PraisonAI Has Second-Order SQL Injection in `get_all_user_threads`

Severity: Critical

CVSS Score: 9.8

PraisonAI is a multi-agent teams system. Prior to version 4.5.90, the get_all_user_threads function constructs raw SQL queries using f-strings with unescaped thread IDs fetched from the database. An attacker stores a malicious thread ID via update_thread. 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.