Vulnerability · Published Jul 20, 2025 · Assigned by VulDB
CVE-2025-7894Onyx Chat Interface a3_generate_simple_sql.py generate_simple_sql sql injection
Medium 6.3
In plain English
A medium-severity SQL injection in Onyx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities).
Official description
A vulnerability, which was classified as critical, has been found in Onyx up to 0.29.1. This issue affects the function generate_simple_sql of the file backend/onyx/agents/agent_search/kb_search/nodes/a3_generate_simple_sql.py of the component Chat Interface. The manipulation leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected products (as reported)
Weakness: CWE-89, CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-317009 | Onyx Chat Interface a3_generate_simple_sql.py generate_simple_sql sql injection vdb-entry, technical-description
- VDB-317009 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #615322 | onyx-dot-app onyx 0.29.1 SQL Injection third-party-advisory
- https://www.cnblogs.com/aibot/p/18982747 exploit