CVE-2026-130595 Details
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.
A vulnerability exists in SQLBot versions 1.10.0 through 1.10.3, where the application fails to properly enforce its denylist of dangerous functions for PostgreSQL. This issue arises because the denylist lookups use the 'pg' type, while the denylist itself is keyed under 'postgresql'. As a result, authenticated users can bypass the intended restrictions and use certain PostgreSQL functions to read or write files on the database host.
Users can manually update to SQLBot version 1.10.4 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 17, 2026CISA-ADP
Assessed Nov 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dataease/SQLBot/blob/96f06c7eade60ecf3e6af0313821373761d1fb85/backend/apps/db/db.py#L1155-L1182 | [email protected] | Source CodeVendor |
| https://github.com/dataease/SQLBot/commit/67d213fc3920c29e8ca7c27c5ea2334bdebe284d | [email protected] | Source CodeVendor |
| https://github.com/dataease/SQLBot/issues/1438 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/sqlbot-1.10.0-through-1.10.3-postgresql-dangerous-function-denylist-bypass-via-key-mismatch | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-184 | Incomplete List of Disallowed Inputs | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dataease/SQLBot | >= 1.10.0, <= 1.10.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 17, 2026 | CVE Modified | CISA-ADP |
| Nov 17, 2026 | New CVE Received | [email protected] |
Volerion