PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-40315 MervinPraison CVE debrief

CVE-2026-40315 is an SQL identifier injection vulnerability in PraisonAI's SQLiteConversationStore. The vulnerability allows an attacker to inject arbitrary SQL fragments by controlling the table_prefix configuration value, potentially leading to unauthorized data access and query result tampering. This issue has been fixed in version 4.5.133. Defenders should assess exposure and prioritize verification and remediation efforts, reviewing configuration inputs for potential SQL injection vulnerabilities.

Vendor
MervinPraison
Product
PraisonAI
CVSS
HIGH 7.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-14
Original CVE updated
2026-10-26
Advisory published
2026-04-14
Advisory updated
2026-10-26

Who should care

Defenders responsible for PraisonAI deployments should assess exposure and prioritize verification and remediation efforts, reviewing configuration inputs for potential SQL injection vulnerabilities. This includes operators, platform administrators, vulnerability management teams, and security teams who need to ensure the security and integrity of PraisonAI deployments.

Why it matters

CVE-2026-40315 is an SQL identifier injection vulnerability in PraisonAI's SQLiteConversationStore. Defenders should prioritize verifying and upgrading to PraisonAI version 4.5.133 or later, and review configuration inputs for potential SQL injection vulnerabilities.

  • Potential unauthorized data access
  • Query result tampering through SQL injection
  • Internal schema disclosure through SQL injection
  • Verification of configuration inputs for potential SQL injection vulnerabilities

Technical summary

The vulnerability is caused by the direct concatenation of the table_prefix configuration value into SQL queries without validation or sanitization. This allows an attacker to inject arbitrary SQL fragments and alter query structure, enabling unauthorized data access and query result tampering. 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.

Defensive priority

Defenders should prioritize verifying and upgrading to PraisonAI version 4.5.133 or later, and review configuration inputs for potential SQL injection vulnerabilities.

Recommended defensive actions

  • Verify and upgrade to PraisonAI version 4.5.133 or later
  • Review configuration inputs for potential SQL injection vulnerabilities
  • Monitor for unauthorized data access and query result tampering
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The vulnerability is caused by the direct concatenation of the table_prefix configuration value into SQL queries without validation or sanitization. This allows an attacker to inject arbitrary SQL fragments and alter query structure.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-40315 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-40315

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-40315 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40315

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/MervinPraison/PraisonAI/commit/0accebb2e3c3ec2fca66bbea0444fb7a35f0b4ef

    [email protected] - Patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-x783-xp3g-mqhp

    [email protected] - Exploit, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.