CVE-2025-7894

MEDIUM

Onyx < 0.29.1 - SQL Injection via generate_simple_sql Function

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry technical-description
https://vuldb.com/?id.317009
Permissions Required, VDB Entry signature permissions-required
https://vuldb.com/?ctiid.317009
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.615322
Exploit, Third Party Advisory exploit
https://www.cnblogs.com/aibot/p/18982747

Scores

CVSS v3 6.3
EPSS 0.0049
EPSS Percentile 38.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-74 CWE-89
Status published
Products (1)
onyx/onyx < 0.29.1
Published Jul 20, 2025
Tracked Since Feb 18, 2026