CVE-2026-34934: Second-order SQL injection in PraisonAI get_all_user_threads
- Vendor
- Praison
PraisonAI versions before 4.5.90 contain a second-order SQL injection vulnerability in get_all_user_threads. An attacker can persist a malicious thread ID through update_thread. When the application subsequently retrieves the thread list, get_all_user_threads interpolates the stored ID into a raw SQL IN clause using Python f-strings without escaping or parameterization. The injected SQL executes during retrieval, potentially enabling full database compromise.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise database confidentiality, integrity, and availability, including disclosure of user emails, session tokens, API keys, and conversation histories, and modification or deletion of database contents. The proof of concept demonstrates SQLite schema enumeration using an injected UNION SELECT query.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, reduce exposure by preventing untrusted or malformed thread IDs from being stored through update_thread, validating and constraining thread ID format server-side, and reviewing the codebase for similar second-order SQL injection patterns. Limit the database account used by PraisonAI to the minimum required privileges to reduce blast radius. Monitor for anomalous thread ID values and suspicious database queries triggered during thread list loading.
Remediation
Patch, then assume compromise.
Upgrade the praisonai PyPI package to version 4.5.90 or later, which includes the fix.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-34934 exploited in the wild?
- As of Nov 17, 2026, Mallory has no reports of CVE-2026-34934 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-34934?
- Yes. As of Nov 17, 2026, Mallory has reports of a public exploit for CVE-2026-34934.
- Is there a patch for CVE-2026-34934?
- Upgrade the praisonai PyPI package to version 4.5.90 or later, which includes the fix.
- What products are affected by CVE-2026-34934?
- Praisonai.
- How severe is CVE-2026-34934?
- CVE-2026-34934 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.63% (45th percentile) as of Nov 17, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.