# CVE-2026-41496: PraisonAI: SQL Injection via unvalidated `table_prefix` in 9 conversation store backends (incomplete fix for CVE-2026-40315)

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-17T22:24:19.000Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-rg3h-x3jw-7jm5, PYSEC-2026-2923, PYSEC-2026-2952
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: praisonaiagents < 1.6.9; praisonai < 4.6.9
- praisonai (PyPI): before 4.5.149
- praisonaiagents (PyPI): before 1.6.8
- praison praisonai: before 4.6.9
- praison praisonaiagents: before 1.6.9

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-rg3h-x3jw-7jm5> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41496> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-rg3h-x3jw-7jm5> (advisory)
- <https://pypi.org/project/praisonaiagents> (package)

## Sources

- CVE List: [CVE-2026-41496](https://www.cve.org/CVERecord?id=CVE-2026-41496), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-rg3h-x3jw-7jm5](https://github.com/advisories/GHSA-rg3h-x3jw-7jm5), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-41496](https://nvd.nist.gov/vuln/detail/CVE-2026-41496), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2923](https://osv.dev/vulnerability/PYSEC-2026-2923), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2952](https://osv.dev/vulnerability/PYSEC-2026-2952), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-41496 · Whole record: https://cve.day/CVE-2026-41496.json · Rebuilt by cve.day 2026-11-25T22:59:20.970Z
