CVE-2025-7894: Onyx · SQL Injection
Affects OnyxSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 20 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIonyxpkg:pypi/onyxOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Given the absence of official patches, European organizations should implement the following specific measures: 1) Immediately audit and monitor all Onyx deployments for suspicious SQL query patterns or anomalous database activity indicative of injection attempts. 2) Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection payloads targeting the vulnerable generate_simple_sql function. 3) Restrict network access to Onyx backend components to trusted IP addresses and internal networks only, minimizing exposure. 4) If feasible, disable or isolate the Chat Interface component until a patch or vendor guidance is available. 5) Conduct code reviews and apply temporary input validation or parameterized queries in the affected code if source code access is possible. 6) Enhance logging and alerting on database errors and failed queries to detect exploitation attempts early. 7) Prepare incident response plans specific to SQL injection attacks to enable rapid containment and remediation. 8) Engage with the vendor or community for updates and patches, and plan for prompt deployment once available.
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.