CVE-2026-40315CRITICAL 9.8EPSS p21.1%

CVE-2026-40315CVE-2026-40315

Description

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.30% probability of exploitation · percentile 21.1% · 2026-06-18T12:00:27Z
Published2026-04-14
Last modified2026-04-20

Underlying weaknesses· 1

CWE-89

References

  1. https://github.com/MervinPraison/PraisonAI/commit/0accebb2e3c3ec2fca66bbea0444fb7a35f0b4ef
  2. https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-x783-xp3g-mqhp
  3. https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-x783-xp3g-mqhp

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')cwe-890%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-41496
CVE
CVE-2026-34934
CVE
CVE-2026-34937
CVE
CVE-2026-40287
CVE
CVE-2026-44339
CVE
CVE-2026-39891
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.