Submit #615322: onyx-dot-app onyx 0.29.1 SQL Injectioninfo

Titleonyx-dot-app onyx 0.29.1 SQL Injection
DescriptionThis report demonstrates a critical SQL injection vulnerability within the Onyx system. An attacker can send a specially crafted message through the application's chat interface (/api/send-message), which is then routed by the backend agent's tool selector (choose_tool.py) to the vulnerable Knowledge Graph query tool (generate_simple_sql). This tool fails to properly sanitize user input when generating and executing SQL queries, allowing an attacker to inject and execute arbitrary SQL code. This can lead to the theft of sensitive database information, such as user credentials.
Source⚠️ https://www.cnblogs.com/aibot/p/18982747
User
 Anonymous User
Submission07/13/2025 14:02 (11 months ago)
Moderation07/19/2025 13:06 (6 days later)
StatusAccepted
VulDB entry317009 [Onyx up to 0.29.1 Chat Interface a3_generate_simple_sql.py generate_simple_sql sql injection]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!