CVE-2026-34934
CRITICAL 9.8CVSS 3.1PraisonAI Has Second-Order SQL Injection in `get_all_user_threads`
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.
- Published
- 3 Apr 2026
- Last modified
- 16 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-9cq8-3v94-434gPYSEC-2026-470
- Sources
- NVDJSONOSV GHSA-9cq8-3v94-434gJSONOSV PYSEC-2026-470JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | praison | praisonaicpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* |
< 4.5.90 | 4.5.90 |
| OSV | PyPI | praisonai | < 4.5.90 | 4.5.90 |
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 · WEB, PACKAGE
- https://github.com/advisories/GHSA-9cq8-3v94-434g · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Apr 2026)