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 attackers who can influence this configuration to inject arbitrary SQL fragments. This can lead to unauthorized access to internal SQLite tables and manipulation of query results. The vulnerability requires the attacker to have the ability to control configuration input. It 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 SQLiteConversationStore before version 4.5.133. The vulnerability occurs because the table_prefix configuration value is concatenated into SQL queries using f-strings without validation or sanitization. Since SQL identifiers cannot be parameterized safely, an attacker controlling table_prefix (via configuration inputs such as from_yaml or from_dict) can inject SQL fragments that alter query structure. This enables unauthorized reading of internal SQLite tables like sqlite_master and manipulation of query results through UNION-based injection. The vulnerability propagates from configuration input in config.py through factory.py to SQL query construction in sqlite.py. Exploitation requires the ability to influence configuration input. The issue is resolved in version 4.5.133.
Potential Impact
Successful exploitation allows an attacker with limited privileges to inject arbitrary SQL code into queries, leading to unauthorized disclosure of internal database schema information and tampering with query results. This can compromise data confidentiality and integrity within the affected PraisonAI system. The attack requires the ability to influence configuration input, limiting the attack surface to scenarios where such control is possible.
Mitigation Recommendations
This vulnerability has been fixed in PraisonAI version 4.5.133. Users should upgrade to version 4.5.133 or later to remediate this issue. Since no official remediation level or patch link is provided beyond this version update, applying this upgrade is the recommended mitigation. No additional vendor advisory indicates alternative mitigations or that no action is required.
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 attackers who can influence this configuration to inject arbitrary SQL fragments. This can lead to unauthorized access to internal SQLite tables and manipulation of query results. The vulnerability requires the attacker to have the ability to control configuration input. It has been fixed in version 4. 5. 133.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI, a multi-agent teams system, contains an SQL identifier injection vulnerability in SQLiteConversationStore before version 4.5.133. The vulnerability occurs because the table_prefix configuration value is concatenated into SQL queries using f-strings without validation or sanitization. Since SQL identifiers cannot be parameterized safely, an attacker controlling table_prefix (via configuration inputs such as from_yaml or from_dict) can inject SQL fragments that alter query structure. This enables unauthorized reading of internal SQLite tables like sqlite_master and manipulation of query results through UNION-based injection. The vulnerability propagates from configuration input in config.py through factory.py to SQL query construction in sqlite.py. Exploitation requires the ability to influence configuration input. The issue is resolved in version 4.5.133.
Potential Impact
Successful exploitation allows an attacker with limited privileges to inject arbitrary SQL code into queries, leading to unauthorized disclosure of internal database schema information and tampering with query results. This can compromise data confidentiality and integrity within the affected PraisonAI system. The attack requires the ability to influence configuration input, limiting the attack surface to scenarios where such control is possible.
Mitigation Recommendations
This vulnerability has been fixed in PraisonAI version 4.5.133. Users should upgrade to version 4.5.133 or later to remediate this issue. Since no official remediation level or patch link is provided beyond this version update, applying this upgrade is the recommended mitigation. No additional vendor advisory indicates alternative mitigations or that no action is required.
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/14/2026, 4:16:49 AM
Last updated: 4/14/2026, 6:31:30 AM
Views: 7
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.