CVE-2026-40315: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in MervinPraison PraisonAI
CVE-2026-40315 is an SQL injection vulnerability in MervinPraison's PraisonAI versions prior to 4. 5. 133. The issue arises because the table_prefix configuration value is directly concatenated into SQL queries without validation or sanitization, allowing an attacker who can control this value to inject arbitrary SQL code. Exploitation can lead to unauthorized access to internal SQLite tables and manipulation of query results. This vulnerability has been fixed in version 4. 5. 133.
AI Analysis
Technical Summary
PraisonAI, a multi-agent teams system, contains an SQL identifier injection vulnerability in its SQLiteConversationStore component. Specifically, the table_prefix configuration value is incorporated into SQL queries using Python f-strings without any sanitization or validation. Since SQL identifiers cannot be safely parameterized, an attacker able to influence this configuration input (e.g., via from_yaml or from_dict methods) can inject arbitrary SQL fragments. This injection can alter query structure, enabling unauthorized data access such as reading internal SQLite tables like sqlite_master and tampering with query results through UNION-based injection techniques. The vulnerability propagates through configuration input in config.py, factory.py, and finally to SQL query construction in sqlite.py. The issue is resolved in PraisonAI version 4.5.133.
Potential Impact
Successful exploitation allows an attacker with limited privileges (local access with some ability to influence configuration input) to perform SQL injection attacks that disclose internal database schema information and manipulate query results. This can lead to unauthorized data access and potential data integrity issues within the affected PraisonAI system.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 4.5.133. Users should upgrade to version 4.5.133 or later to remediate this issue. Since the product is not a cloud service, remediation requires applying the official patch by upgrading the software. Patch status is not explicitly stated beyond the fix in version 4.5.133; therefore, users should verify with the vendor advisory for any additional guidance.
CVE-2026-40315: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in MervinPraison PraisonAI
Description
CVE-2026-40315 is an SQL injection vulnerability in MervinPraison's PraisonAI versions prior to 4. 5. 133. The issue arises because the table_prefix configuration value is directly concatenated into SQL queries without validation or sanitization, allowing an attacker who can control this value to inject arbitrary SQL code. Exploitation can lead to unauthorized access to internal SQLite tables and manipulation of query results. This vulnerability has been fixed in version 4. 5. 133.
CVSS v4.0
Score 7.2high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI, a multi-agent teams system, contains an SQL identifier injection vulnerability in its SQLiteConversationStore component. Specifically, the table_prefix configuration value is incorporated into SQL queries using Python f-strings without any sanitization or validation. Since SQL identifiers cannot be safely parameterized, an attacker able to influence this configuration input (e.g., via from_yaml or from_dict methods) can inject arbitrary SQL fragments. This injection can alter query structure, enabling unauthorized data access such as reading internal SQLite tables like sqlite_master and tampering with query results through UNION-based injection techniques. The vulnerability propagates through configuration input in config.py, factory.py, and finally to SQL query construction in sqlite.py. The issue is resolved in PraisonAI version 4.5.133.
Potential Impact
Successful exploitation allows an attacker with limited privileges (local access with some ability to influence configuration input) to perform SQL injection attacks that disclose internal database schema information and manipulate query results. This can lead to unauthorized data access and potential data integrity issues within the affected PraisonAI system.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 4.5.133. Users should upgrade to version 4.5.133 or later to remediate this issue. Since the product is not a cloud service, remediation requires applying the official patch by upgrading the software. Patch status is not explicitly stated beyond the fix in version 4.5.133; therefore, users should verify with the vendor advisory for any additional guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-10T21:41:54.505Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ddbc3182d89c981fc24dda
Added to database: 4/14/2026, 4:01:53 AM
Last enriched: 4/21/2026, 6:27:34 AM
Last updated: 5/29/2026, 8:19:24 PM
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.