CVE Explorer
CVE-2026-40315
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"PraisonAI","vendor":"MervinPraison","versions":[{"status":"affected","version":"< 4.5.133"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:cfc1fbd41e90892bd3b329a3858277ec2bda31ae3846cfe410fac8091dc523f9 · sha256:046e2455979474a6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":7.2,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:cfc1fbd41e90892bd3b329a3858277ec2bda31ae3846cfe410fac8091dc523f9 · sha256:046e2455979474a6… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:cfc1fbd41e90892bd3b329a3858277ec2bda31ae3846cfe410fac8091dc523f9 · sha256:046e2455979474a6… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/MervinPraison/PraisonAI/commit/0accebb2e3c3ec2fca66bbea0444fb7a35f0b4ef","tags":["x_refsource_MISC"],"url":"https://github.com/MervinPraison/PraisonAI/commit/0accebb2e3c3ec2fca66bbea0444fb7a35f0b4ef"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cfc1fbd41e90892bd3b329a3858277ec2bda31ae3846cfe410fac8091dc523f9 · sha256:046e2455979474a6… · /containers/cna/references/1
{"name":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-x783-xp3g-mqhp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-x783-xp3g-mqhp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cfc1fbd41e90892bd3b329a3858277ec2bda31ae3846cfe410fac8091dc523f9 · sha256:046e2455979474a6… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-x783-xp3g-mqhp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cfc1fbd41e90892bd3b329a3858277ec2bda31ae3846cfe410fac8091dc523f9 · sha256:046e2455979474a6… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.