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% (41st 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% (41st 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-20030 — Critical (CVSS 10.0): As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Crosswork engineering team…
- CVE-2026-72811 — Critical (CVSS 10.0): SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query…
- CVE-2026-72851 — Critical (CVSS 10.0): Budibase before 3.40.0 contains an unauthenticated SQL injection vulnerability in webhook-triggered automations with…
- CVE-2026-72899 — Critical (CVSS 10.0): Metabase allows an unauthenticated attacker to inject arbitrary SQL via a publicly shared card or dashboard that…
- CVE-2026-72898 — Critical (CVSS 10.0): Metabase allows a remote, unauthenticated attacker to inject arbitrary SQL via the '/reset_password' database endpoint…
- CVE-2026-48330 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an SQL Command ('SQL…