DataEase SQLBot database host file access in PostgreSQL SQL checks
dataease SQLBot
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dataease SQLBot |
| No fix yet |
Original 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.
From the CVE record · VulnCheck