CVE-2026-40315 | MervinPraison PraisonAI up to 4.5.132 Configuration config.py table_prefix sql injection (GHSA-x783-xp3g-mqhp)
VulDBArchived Apr 14, 2026✓ Full text saved
A vulnerability was found in MervinPraison PraisonAI up to 4.5.132 . It has been declared as critical . This vulnerability affects unknown code of the file config.py of the component Configuration Handler . Such manipulation of the argument table_prefix leads to sql injection. This vulnerability is uniquely identified as CVE-2026-40315 . The attack can be launched remotely. No exploit exists. It is recommended to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357273 · CVE-2026-40315 · GHSA-X783-XP3G-MQHP
MERVINPRAISON PRAISONAI UP TO 4.5.132 CONFIGURATION CONFIG.PY TABLE_PREFIX SQL INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.0 $0-$5k 1.29+
Summaryinfo
A vulnerability was found in MervinPraison PraisonAI up to 4.5.132. It has been rated as critical. This issue affects some unknown processing of the file config.py of the component Configuration Handler. Performing a manipulation of the argument table_prefix results in sql injection. This vulnerability was named CVE-2026-40315. The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is advised.
Detailsinfo
A vulnerability classified as critical has been found in MervinPraison PraisonAI up to 4.5.132. This affects an unknown function of the file config.py of the component Configuration Handler. The manipulation of the argument table_prefix with an unknown input leads to a sql injection vulnerability. CWE is classifying the issue as CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
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.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2026-40315 since 04/10/2026. The exploitability is told to be easy. It is possible to initiate the attack remotely. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1505 for this issue.
Upgrading to version 4.5.133 eliminates this vulnerability. Applying the patch 0accebb2e3c3ec2fca66bbea0444fb7a35f0b4ef is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
MervinPraison
Name
PraisonAI
Version
4.5.132
License
open-source
Website
Product: https://github.com/MervinPraison/PraisonAI/
CPE 2.3info
🔒
CPE 2.2info
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: PraisonAI 4.5.133
Patch: 0accebb2e3c3ec2fca66bbea0444fb7a35f0b4ef
Timelineinfo
04/10/2026 CVE reserved
04/14/2026 +4 days Advisory disclosed
04/14/2026 +0 days VulDB entry created
04/14/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-x783-xp3g-mqhp
Status: Confirmed
CVE: CVE-2026-40315 (🔒)
GCVE (CVE): GCVE-0-2026-40315
GCVE (VulDB): GCVE-100-357273
Entryinfo
Created: 04/14/2026 08:05
Changes: 04/14/2026 08:05 (72)
Complete: 🔍
Cache ID: 99:19E:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸