# CVE-2026-34934: PraisonAI: Second-Order SQL Injection in `get_all_user_threads`

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:20:32.000Z
- Modified: 2026-11-16T16:15:06.421Z
- Also known as: GHSA-9cq8-3v94-434g, PYSEC-2026-470
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to version 4.5.90, the get_all_user_threads function constructs raw SQL queries using f-strings with unescaped thread IDs fetched from the database. An attacker stores a malicious thread ID via update_thread. When the application loads the thread list, the injected payload executes and grants full database access. This issue has been patched in version 4.5.90.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.90
- praisonai (PyPI): before 4.5.90
- praison praisonai: before 4.5.90

## Every score

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

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9cq8-3v94-434g> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34934> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-470.yaml> (web)
- <https://pypi.org/project/praisonai> (package, web)
- <https://github.com/advisories/GHSA-9cq8-3v94-434g> (advisory)

## Sources

- CVE List: [CVE-2026-34934](https://www.cve.org/CVERecord?id=CVE-2026-34934), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-9cq8-3v94-434g](https://github.com/advisories/GHSA-9cq8-3v94-434g), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-34934](https://nvd.nist.gov/vuln/detail/CVE-2026-34934), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-470](https://osv.dev/vulnerability/PYSEC-2026-470), CC-BY-4.0, modified 2026-07-13

---

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