SQL injection in MervinPraison PraisonAI
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
PraisonAI is a multi-agent teams system. Prior to praisonai version 4.6.9 and praisonaiagents version 1.6.9, the fix for CVE-2026-40315 added input validation to SQLiteConversationStore only. Nine sibling backends — MySQL, PostgreSQL, async SQLite/MySQL/PostgreSQL, Turso, SingleStore, Supabase, SurrealDB — pass table_prefix straight into f-string SQL. Same root cause, same code pattern, same exploitation. 52 unvalidated injection points across the codebase. postgres.py additionally accepts an unvalidated schema parameter used directly in DDL. This issue has been patched in praisonai version 4.6.9 and praisonaiagents version 1.6.9.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MervinPraison | PraisonAI | praisonaiagents < 1.6.9; praisonai < 4.6.9 | — | No fix listed | CNA |
| — | praisonai (PyPI) | before 4.5.149 | 4.5.149 | Patch available | GHSA-rg3h-x3jw-7jm5 |
| — | praisonaiagents (PyPI) | before 1.6.8 | 1.6.8 | Patch available | GHSA-rg3h-x3jw-7jm5 |
- PraisonAI VendorMervinPraison Affected praisonaiagents < 1.6.9; praisonai < 4.6.9 Fixed in — No fix listed CNA
- praisonai (PyPI) Vendor— Affected before 4.5.149 Fixed in 4.5.149 Patch available GHSA-rg3h-x3jw-7jm5
- praisonaiagents (PyPI) Vendor— Affected before 1.6.8 Fixed in 1.6.8 Patch available GHSA-rg3h-x3jw-7jm5
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* | before 4.6.9 | Vulnerable | MervinPraison |
| cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:python:*:* | before 1.6.9 | Vulnerable | MervinPraison |
- cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* Versions before 4.6.9 Vulnerable ·MervinPraison
- cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:python:*:* Versions before 1.6.9 Vulnerable ·MervinPraison
Remediation
- Fix · GHSA-rg3h-x3jw-7jm5 praisonai (PyPI) Fixed in 4.5.149 Advisory →
- Fix · GHSA-rg3h-x3jw-7jm5 praisonaiagents (PyPI) Fixed in 1.6.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41496
- 2026-10-03 Alias added: GHSA-rg3h-x3jw-7jm5
References
More MervinPraison Praisonai vulnerabilities
- TI-2026-30083 Incomplete fix for CVE-2026-34935: Command Injection in MervinPraison/PraisonAI CVSS 3.1CRITICAL 9.8
- TI-2026-29070 PraisonAI: Critical RCE via `type: job` workflow YAML CVSS 3.1CRITICAL 9.8
- TI-2026-28940 PraisonAI has Server-Side Request Forgery via Unvalidated webhook_url in Jobs API CVSS 3.1CRITICAL 10.0
- TI-2026-28768 PraisonAI Affected by Remote Code Execution via YAML Deserialization in Agent Definition Loading CVSS 3.1CRITICAL 9.8
- TI-2026-27159 PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command() CVSS 3.1CRITICAL 9.8
- TI-2026-27158 PraisonAI: Second-Order SQL Injection in `get_all_user_threads` CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-41496 · CVE Program
- CVE-2026-41496 · NVD
- FIRST EPSS
- GHSA-rg3h-x3jw-7jm5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences