{"id":"CVE-2026-41496","published":"2026-05-08T13:19:10Z","modified":"2026-05-08T23:18:11Z","title":"PraisonAI: SQL Injection via unvalidated `table_prefix` in 9 conversation store backends (incomplete fix for…","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to praisonai version 4.6.9 and praisonaiagents version 1.6.9, the fix for CVE-2026-40315 added input validation to SQLiteConversationStore only. Nine sibling backends — MySQL, PostgreSQL, async SQLite/MySQL/PostgreSQL, Turso, SingleStore, Supabase, SurrealDB — pass table_prefix straight into f-string SQL. Same root cause, same code pattern, same exploitation. 52 unvalidated injection points across the codebase. postgres.py additionally accepts an unvalidated schema parameter used directly in DDL. This issue has been patched in praisonai version 4.6.9 and praisonaiagents version 1.6.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00347,"percentile":0.29039,"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-rg3h-x3jw-7jm5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":5.81},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["praisonaiagents < 1.6.9","praisonai < 4.6.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-08T23:17:23.691346Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonai","vulnerableRanges":["<4.5.149"],"patched":["4.5.149"],"from":["GHSA-rg3h-x3jw-7jm5","PYSEC-2026-2923"],"provenance":"source"},{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.6.8"],"patched":["1.6.8"],"from":["GHSA-rg3h-x3jw-7jm5","PYSEC-2026-2952"],"provenance":"source"}],"summary":{"text":"PraisonAI, a multi-agent teams system from MervinPraison, has a SQL injection flaw in nine of its conversation store backends (MySQL, PostgreSQL, async SQLite/MySQL/PostgreSQL, Turso, SingleStore, Supabase, and SurrealDB), where the table_prefix value is placed unvalidated into f-string SQL, and the PostgreSQL backend also passes an unvalidated schema parameter into DDL. An attacker with low privileges and network access to the affected component can inject SQL through these parameters with no user interaction required, gaining high confidentiality and integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:02Z"},"euvd":{"id":"EUVD-2026-28594","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mervinpraison-praisonai-cve-2026-40315","parents":[{"from":"CVE-2026-40315","to":"CVE-2026-41496","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Prior to praisonai version 4.6.9 and praisonaiagents version 1.6.9, the fix for CVE-2026-40315 added input validation to SQLiteConversationStore only.","from":"CVE.org","in":"CVE-2026-41496"}]}],"packageHistory":[{"cve":"CVE-2026-39890","published":"2026-04-08","fixed":"4.5.115","kev":false},{"cve":"CVE-2026-39891","published":"2026-04-08","fixed":"4.5.115","kev":false},{"cve":"CVE-2026-40156","published":"2026-04-10","fixed":"4.5.128","kev":false,"link":{"from":"CVE-2026-40156","to":"CVE-2026-41496","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.128","toFixed":"4.5.149","daysApart":28}]}},{"cve":"CVE-2026-41496","published":"2026-05-08","fixed":"4.5.149","kev":false},{"cve":"CVE-2026-41497","published":"2026-05-08","fixed":"4.5.149","kev":false},{"cve":"CVE-2026-44334","published":"2026-05-08","fixed":"4.6.32","kev":false},{"cve":"CVE-2026-64824","published":"2026-07-21","fixed":"4.6.40","kev":false}],"package":"PyPI:praisonai"}}