# CVE-2026-84061: zhongyu09 OpenChatBI generate_sql.py _validate_sql_safety sql injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-01T12:00:09.788Z
- Modified: 2026-09-01T20:47:54.130Z
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- zhongyu09 OpenChatBI: 0.1; 0.2; 0.3.0

## Every score

- VulDB: CVSS:4.0 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/E:X`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:ND/RC:UR`

## References

- <https://vuldb.com/submit/880544> (exploit, third-party-advisory)
- <https://vuldb.com/vuln/397552> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/397552/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-84061> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-84061](https://www.cve.org/CVERecord?id=CVE-2026-84061), CVE Terms of Use, modified 2026-09-01
- NVD: [CVE-2026-84061](https://nvd.nist.gov/vuln/detail/CVE-2026-84061), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-84061 · Whole record: https://cve.day/CVE-2026-84061.json · Rebuilt by cve.day 2026-11-25T22:59:35.932Z
