CVE-2025-7894
CVE-2025-7894 is a medium-severity vulnerability in Onyx with a CVSS 3.x base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 6.3)
- CVSS v2: 6.5
- CVSS v4: 2.1
- EPSS exploit prediction: 0% (39th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-22016
- Weakness: CWE-89
- Affected product: Onyx
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2025-7894?
- CVE-2025-7894 has a CVSS 3.x base score of 6.3, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2025-7894 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-7894?
- CVE-2025-7894 affects Onyx. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-7894?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-7894 have an EU (EUVD) identifier?
- Yes. CVE-2025-7894 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-22016.
- When was CVE-2025-7894 published?
- CVE-2025-7894 was published on 2025-07-20 and last updated on 2026-06-17.
References
- https://vuldb.com/?ctiid.317009
- https://vuldb.com/?id.317009
- https://vuldb.com/?submit.615322
- https://www.cnblogs.com/aibot/p/18982747
Affected products (1)
- cpe:2.3:a:onyx:onyx:*:*:*:*:*:*:*:*
More vulnerabilities in Onyx
- CVE-2024-7767 — High (CVSS 8.1): An improper access control vulnerability exists in danswer-ai/danswer version v0.3.94. This vulnerability allows the…
- CVE-2026-42277 — Medium (CVSS 6.5): Onyx is an open-source AI platform. Prior to versions 3.0.9, 3.1.6, and 3.2.6, the GET /chat/file/{file_id} endpoint…
- CVE-2024-9612 — Medium (CVSS 6.5): In danswer-ai/danswer v0.3.94, administrators can set the visibility of pages within a workspace, including the search…
- CVE-2025-51479 — Medium (CVSS 5.4): Authorization bypass in update_user_group in onyx-dot-app Onyx Enterprise Edition 0.27.0 allows remote authenticated…
- CVE-2026-42276 — Medium (CVSS 4.3): Onyx is an open-source AI platform. Prior to versions 3.0.9, 3.1.6, and 3.2.6, the POST…
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…