Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-34934 EUVD-2026-18911GHSA-9cq8-3v94-434gPYSEC-2026-470

PraisonAI: Second-Order SQL Injection in `get_all_user_threads`

Published Apr 3, 2026 · Updated Apr 6, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.5.90 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.5.90 4.5.90 GHSA-9cq8-3v94-434g

References