# CVE-2025-7894: Onyx Chat Interface a3_generate_simple_sql.py generate_simple_sql sql injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-20T14:02:07.096Z
- Modified: 2026-06-17T10:05:54.853Z
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Onyx: 0.29.0; 0.29.1
- onyx onyx: up to 0.29.1

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `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`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.cnblogs.com/aibot/p/18982747> (exploit, third-party-advisory)
- <https://vuldb.com/?id.317009> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.317009> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.615322> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2025-7894](https://www.cve.org/CVERecord?id=CVE-2025-7894), CVE Terms of Use, modified 2025-07-21
- NVD: [CVE-2025-7894](https://nvd.nist.gov/vuln/detail/CVE-2025-7894), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-7894 · Whole record: https://cve.day/CVE-2025-7894.json · Rebuilt by cve.day 2026-11-25T22:59:01.468Z
