CVE-2026-34934
Received Received - Intake
SQL Injection in PraisonAI get_all_user_threads Grants Full DB Access

Publication date: 2026-04-03

Last updated on: 2026-04-14

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-03
Last Modified
2026-04-14
Generated
2026-05-07
AI Q&A
2026-04-04
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
praison praisonai to 4.5.90 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

This vulnerability allows an attacker to execute arbitrary SQL queries and gain full database access, which can lead to unauthorized access, modification, or disclosure of sensitive data.

Such unauthorized access and potential data breaches can result in non-compliance with data protection regulations and standards like GDPR and HIPAA, which require strict controls to protect personal and sensitive information.

Therefore, if exploited, this vulnerability could compromise compliance with these regulations by exposing confidential data and failing to maintain data integrity and confidentiality.


Can you explain this vulnerability to me?

This vulnerability exists in PraisonAI versions prior to 4.5.90. The function get_all_user_threads constructs raw SQL queries using f-strings that include unescaped thread IDs retrieved from the database. An attacker can exploit this by storing a malicious thread ID through the update_thread function. When the application loads the thread list, the malicious payload embedded in the thread ID executes, allowing the attacker to gain full access to the database.


How can this vulnerability impact me? :

This vulnerability can have a severe impact as it allows an attacker to execute arbitrary SQL commands on the database without any privileges or user interaction. This can lead to complete compromise of the database, including unauthorized access, data theft, data modification, or deletion.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade PraisonAI to version 4.5.90 or later, where the issue has been patched.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart