Skip to main content

OpenChatBI CVE-2026-84061

| EUVDEUVD-2026-69063 MEDIUM
SQL Injection (CWE-89)
2026-09-01 VulDB GHSA-cx4x-wgfr-9r87
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to OpenChatBI instance
  2. Delivery
    Submit crafted natural language query via text2sql interface
  3. Exploit
    Pipeline generates attacker-controlled SQL
  4. Execution
    _validate_sql_safety fails to block injection payload
  5. Persist
    Injected SQL executes against backend database
  6. Impact
    Exfiltrate 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 _validate_sql_safety function fails to detect or block the malicious clause, and the constructed query executes against the backend database with attacker-controlled logic. On versions 0.2.0-0.2.2, even trivially malformed inputs bypass any safety gate because no validation code exists. No public proof-of-concept has been identified, but the low attack complexity (AC:L, CWE-89) makes independent exploitation straightforward for any attacker holding a valid account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

openchatbi 0.1
openchatbi 0.3.0
openchatbi 0.2

Affected Packages

euvd openchatbi no fix

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

Vendor (VulDB) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Authenticated network access (PR:L) required; no scope change; uniform Low CIA impact consistent with bounded SQL injection in a niche application.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Rare
obscure open-source BI chatbot project, minimal enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy