CVE-2025-7894

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.
References
Link Resource
https://vuldb.com/?ctiid.317009 Permissions Required VDB Entry
https://vuldb.com/?id.317009 Third Party Advisory VDB Entry
https://vuldb.com/?submit.615322 Third Party Advisory VDB Entry
https://www.cnblogs.com/aibot/p/18982747 Exploit Third Party Advisory
https://www.cnblogs.com/aibot/p/18982747 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:onyx:onyx:*:*:*:*:*:*:*:*

History

17 Sep 2025, 14:41

Type Values Removed Values Added
CPE cpe:2.3:a:onyx:onyx:*:*:*:*:*:*:*:*
First Time Onyx onyx
Onyx
References () https://vuldb.com/?ctiid.317009 - () https://vuldb.com/?ctiid.317009 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.317009 - () https://vuldb.com/?id.317009 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.615322 - () https://vuldb.com/?submit.615322 - Third Party Advisory, VDB Entry
References () https://www.cnblogs.com/aibot/p/18982747 - () https://www.cnblogs.com/aibot/p/18982747 - Exploit, Third Party Advisory

22 Jul 2025, 13:06

Type Values Removed Values Added
Summary
  • (es) Se ha detectado una vulnerabilidad, clasificada como crítica, en Onyx hasta la versión 0.29.1. Este problema afecta a la función generate_simple_sql del archivo backend/onyx/agents/agent_search/kb_search/nodes/a3_generate_simple_sql.py del componente Chat Interface. La manipulación provoca una inyección SQL. El ataque puede ejecutarse en remoto. El exploit se ha divulgado públicamente y podría utilizarse. Se contactó al proveedor con antelación sobre esta divulgación, pero no respondió.

21 Jul 2025, 19:15

Type Values Removed Values Added
References () https://www.cnblogs.com/aibot/p/18982747 - () https://www.cnblogs.com/aibot/p/18982747 -

20 Jul 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-20 14:15

Updated : 2025-09-17 14:41


NVD link : CVE-2025-7894

Mitre link : CVE-2025-7894

CVE.ORG link : CVE-2025-7894


JSON object : View

Products Affected

onyx

  • onyx
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')