Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to OpenChatBI instance
-
DeliverySubmit crafted natural language query via text2sql interface
-
ExploitPipeline generates attacker-controlled SQL
-
Execution_validate_sql_safety fails to block injection payload
-
PersistInjected SQL executes against backend database
-
ImpactExfiltrate or manipulate accessible database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session on the OpenChatBI instance (PR:L per CVSS 4.0), so the attacker must hold or obtain user credentials. The vulnerable code path is exclusively invoked through the text2sql feature - the natural language to SQL conversion pipeline - so that feature must be active and accessible to the attacker's account. On v0.3.0 and v1.0.0b1, enabling the optional stricter validation mode may block exploitation; the flaw is reliably exploitable only when this mode is absent or disabled, which is its default state. No special network position, elevated privilege, or user interaction beyond authentication is required. Exploitation is bounded to the database objects accessible under the application's configured database credentials. |
| Impact | The CVSS 4.0 score of 5.3 (AV:N/AC:L/AT:N/PR:L/UI:N) represents moderate real-world risk: network-exploitable at low complexity but gated behind authenticated access (PR:L), which meaningfully limits the threat surface. Impact is uniformly Low across confidentiality, integrity, and availability with no subsequent-system scope change, consistent with a SQL injection bounded to the application's own data store. No EPSS data was provided in the input, and the absence of both a CISA KEV listing and public POC code suggests limited active exploitation interest - likely compounded by the product's narrow deployment footprint. The disclosure timeline is an aggravating factor: vendor non-response means the only available mitigation (the optional strict mode in v1.0.0b1) is unreleased as a security advisory and may be missed by operators. Risk is materially higher for deployments running v0.2.0-v0.2.2, where no validation exists at all, versus v0.3.0+ where partial mitigation is in place. |
| Exploit ScenarioDerived | An authenticated user submits a crafted natural language prompt engineered to produce SQL containing injection payloads; the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
SQL injection in zhongyu09 OpenChatBI allows authenticated remote attackers to manipulate queries processed by the incomplete _validate_sql_safety function within the text2sql pipeline. Versions 0.2.0 through 0.2.2 ship with zero SQL validation; version 0.3.0 introduced a bypassable validator, and v1.0.0b1/main retains the same incomplete logic with an optional - but non-default - stricter mode. The vendor did not respond to coordinated disclosure, leaving no official patch guidance; no public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
No official vendor-released patch exists, as the vendor did not respond to disclosure; no fixed version has been independently confirmed. Operators running v1.0.0b1 or the main branch should explicitly enable the optional stricter SQL validation mode, bearing in mind that this non-default setting may restrict some legitimate natural language query patterns that produce complex SQL. Deployments on v0.2.0-v0.2.2 should upgrade to v1.0.0b1 and enable the strict mode as the best currently available mitigation. If upgrade is not feasible, restrict access to the text2sql endpoint to trusted internal networks or authenticated VPN users only - this reduces attack surface without eliminating the underlying flaw. A permanent fix requires replacing pattern-based validation with parameterized queries or a safe ORM abstraction at the code level; given vendor non-response, this may require a community contribution. Monitor VulDB (https://vuldb.com/cve/CVE-2026-84061) for any future vendor response or upstream fix confirmation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenChatBI is an open-source Business Intelligence chatbot application that converts natural language prompts into SQL queries (text2sql). The vulnerable component is the _validate_sql_safety function in openchatbi/text2sql/generate_sql.py, responsible for sanitizing or blocking malicious SQL before it reaches the backend database engine. CWE-89 (SQL Injection) identifies the root cause: attacker-influenced input flows into a SQL query constructor without adequate escaping or parameterization. The flaw is structurally layered - versions 0.2.x have no safety logic at all, while v0.3.0 and v1.0.0b1 introduce an incomplete denylist or pattern-matching approach that can be bypassed through crafted natural language inputs that generate SQL evading the validator. The affected CPE is cpe:2.3:a:zhongyu09:openchatbi:*:*:*:*:*:*:*:*.
Know when Openchatbi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated network access (PR:L) required; no scope change; uniform Low CIA impact consistent with bounded SQL injection in a niche application.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A security flaw has been discovered in zhongyu09 OpenChatBI up to 0.3.0. Affected by this vulnerability is the function _validate_sql_safety of the file openchatbi/text2sql/generate_sql.py. Performing a manipulation results in sql injection. The attack can be initiated remotely. Versions v0.2.0 through v0.2.2 have no SQL safety validation at all, while v0.3.0 introduced a validator and v1.0.0b1/main kept the same incomplete one with an optional stricter mode. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-69063
GHSA-cx4x-wgfr-9r87
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB