Onyx Chat Interface a3_generate_simple_sql.py generate_simple_sql sql injection
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Onyx | 0.29.0; 0.29.1 | — | No fix listed | CNA |
- Onyx Vendor— Affected 0.29.0; 0.29.1 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-7894
- 2026-10-03 Alias added: GHSA-656m-7xwx-9vrp
References
More Onyx vulnerabilities
- TI-2024-07201 Improper Access Control in danswer-ai/danswer CVSS 3.1HIGH 8.1
- TI-2026-30588 Onyx: IDOR in /chat/file/{file_id} allows any authenticated user to download other users files CVSS 3.1MEDIUM 6.5
- TI-2024-08917 Unauthorized Access in danswer-ai/danswer CVSS 3.1MEDIUM 6.5
- TI-2025-32340 Authorization bypass in update_user_group in onyx-dot-app Onyx Enterprise Edition 0.27.0… CVSS 3.1MEDIUM 5.4
- TI-2026-30587 Onyx: IDOR in /chat/stop-chat-session allows any authenticated user to interrupt other users chat sessions CVSS 3.1MEDIUM 4.3
Sources
- CVE-2025-7894 · CVE Program
- CVE-2025-7894 · NVD
- FIRST EPSS
- GHSA-656m-7xwx-9vrp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences