PT-2026-148887
CVE-2026-130595
·
Published
2026-11-17
·
Updated
2026-11-17
Description by
CVSS 4.0
6.0
MediumMetricsAV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
SQLBot versions 1.10.0 through 1.10.3
Description
A mismatch between the key 'postgresql' used in
DS SPECIFIC DANGEROUS FUNCTIONS and the 'pg' type used during lookups prevents the application of the PostgreSQL dangerous-function denylist. This allows authenticated users to bypass the check sql read() function by using LLM-generated SQL containing functions such as pg read file(), pg write file(), lo import(), or lo export() to read or write files on the database host.Recommendations
For SQLBot versions 1.10.0 through 1.10.3, update the software to a version where the denylist key mismatch is resolved.
As a temporary mitigation, restrict the use of the
check sql read() function or limit authenticated user permissions to prevent the execution of dangerous PostgreSQL functions.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾