PostgreSQL Dangerous-Function Denylist Bypass in SQLBot by DataEase
CVE-2026-130595
6MEDIUM
What is CVE-2026-130595?
The vulnerability in SQLBot versions 1.10.0 to 1.10.3 arises from a mismatch in the denylist for dangerous PostgreSQL functions. Specifically, while the denylist is defined using 'postgresql', the lookups utilize the 'pg' type enabling authenticated users to exploit this flaw. By bypassing security checks like check_sql_read(), users can leverage functions like pg_read_file, pg_write_file, lo_import, or lo_export, thereby gaining unauthorized file access on the database host. Immediate remediation is recommended to mitigate potential data exposure.
Affected Version(s)
SQLBot 1.10.0 <= 1.10.3
