SQLBot 1.10.0 through 1.10.3 PostgreSQL Dangerous-Function Denylist Bypass via Key Mismatch
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 17, 2026
Description
SQLBot 1.10.0 through 1.10.3 fails to apply its PostgreSQL dangerous-function denylist because DS_SPECIFIC_DANGEROUS_FUNCTIONS uses 'postgresql' while lookups use the 'pg' type. Authenticated users can steer LLM-generated SQL past check_sql_read() using pg_read_file, pg_write_file, lo_import or lo_export to read or write files on the database host.
| Product | Versions |
|---|---|
| SQLBot dataease | 1.10.0 through 1.10.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | VulnCheck | |
| 3.1 | 5.9 Medium | VulnCheck |
Weaknesses
- CWE-184 Incomplete List of Disallowed Inputs
References
- https://github.com/dataease/SQLBot/issues/1438Issue Tracker
- https://github.com/dataease/SQLBot/commit/67d213fc3920c29e8ca7c27c5ea2334bdebe284dPatch
- https://github.com/dataease/SQLBot/blob/96f06c7eade60ecf3e6af0313821373761d1fb85/backend/apps/db/db.py#L1155-L1182Technical Details
- VulnCheck Advisory: SQLBot 1.10.0 through 1.10.3 PostgreSQL Dangerous-Function Denylist Bypass via Key MismatchThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.