CVE Catalog

CVE-2026-40315

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

PraisonAI prior to 4.5.133 has an SQL identifier injection vulnerability in SQLiteConversationStore where the table_prefix value is directly concatenated into SQL queries without validation. An attacker controlling table_prefix can inject arbitrary SQL fragments, altering query structure.

Risk Assessment

Unauthorized data access, disclosure of internal SQLite tables (e.g., sqlite_master), and manipulation of query results via techniques like UNION-based injection are possible.

Recommendation

Upgrade PraisonAI to version 4.5.133 or later. Restrict the ability to influence table_prefix configuration and validate configuration input.

Other vulnerabilities in PraisonAI

See all
Original NVD description (English source)

PraisonAI is a multi-agent teams system. Prior to 4.5.133, there is an SQL identifier injection vulnerability in SQLiteConversationStore where the table_prefix configuration value is directly concatenated into SQL queries via f-strings without any validation or sanitization. Since SQL identifiers cannot be safely parameterized, an attacker who controls the table_prefix value (e.g., through from_yaml or from_dict configuration input) can inject arbitrary SQL fragments that alter query structure. This enables unauthorized data access, such as reading internal SQLite tables like sqlite_master, and manipulation of query results through techniques like UNION-based injection. The vulnerability propagates from configuration input in config.py, through factory.py, to the SQL query construction in sqlite.py. Exploitation requires the ability to influence configuration input, and successful exploitation leads to internal schema disclosure and full query result tampering. This issue has been fixed in version 4.5.133.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS