Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-130595: SQLBot PostgreSQL function denylist bypass allows host file access

Identifier
CVE-2026-130595
Published
Record updated
View JSON

Summary

SQLBot 1.10.0 through 1.10.3 does not apply its PostgreSQL dangerous-function denylist, because DS_SPECIFIC_DANGEROUS_FUNCTIONS is keyed on '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, reading or writing files on the database host.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.