Vulnerability · Published May 8, 2026 · Assigned by GitHub_M

CVE-2026-41496PraisonAI: SQL Injection via unvalidated `table_prefix` in 9 conversation store backends (incomplete fix for CVE-2026-40315)

High 8.1

In plain English

A high-severity SQL injection in PraisonAI from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.3%top 71.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpraisonai4.5.149GHSA-rg3h-x3jw-7jm5
PyPIpraisonai4.5.149PYSEC-2026-2923
PyPIpraisonaiagents1.6.8GHSA-rg3h-x3jw-7jm5
PyPIpraisonaiagents1.6.8PYSEC-2026-2952

Affected products (as reported)

VendorProductVersions
MervinPraison PraisonAI praisonaiagents < 1.6.9praisonai < 4.6.9

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References