Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 86%

CVE-2026-40315: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in MervinPraison PraisonAI

0
High
VulnerabilityCVE-2026-40315cvecve-2026-40315cwe-89
Published: Tue Apr 14 2026 (04/14/2026, 02:45:33 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 06:27:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses