{"id":"CVE-2026-34934","published":"2026-04-03T22:49:12Z","modified":"2026-04-06T13:16:17Z","title":"PraisonAI: Second-Order SQL Injection in `get_all_user_threads`","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00555,"percentile":0.47236,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9cq8-3v94-434g","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.45},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.5.90"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-06T13:16:07.406374Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonai","vulnerableRanges":["<4.5.90"],"patched":["4.5.90"],"from":["GHSA-9cq8-3v94-434g","PYSEC-2026-470"],"provenance":"source"}],"summary":{"text":"The second-order SQL injection flaw lives in the get_all_user_threads function of the PraisonAI multi-agent teams system, where raw SQL queries are built with f-strings from thread IDs read back from the database without escaping. An attacker who can store a malicious thread ID through update_thread can have the payload execute when the application later loads the thread list, granting full database access, with no authentication or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:24Z"},"euvd":{"id":"EUVD-2026-18911","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34935","published":"2026-04-03","fixed":"4.5.69","kev":false,"link":{"from":"CVE-2026-34935","to":"CVE-2026-34934","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.69","toFixed":"4.5.90","daysApart":0}]}},{"cve":"CVE-2026-34934","published":"2026-04-03","fixed":"4.5.90","kev":false},{"cve":"CVE-2026-34936","published":"2026-04-03","fixed":"4.5.90","kev":false},{"cve":"CVE-2026-34939","published":"2026-04-03","fixed":"4.5.90","kev":false},{"cve":"CVE-2026-34952","published":"2026-04-03","fixed":"4.5.97","kev":false}],"package":"PyPI:praisonai"}}