PT-2026-95138 · Sqlbot+1 · Sqlbot+1

·

CVE-2026-53556

·

Published

2026-09-17

·

Updated

2026-09-17

CVSS v4.0

6.0

Medium

VectorAV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions SQLBot versions prior to 1.9.0
Description An issue exists where the POST /api/v1/datasource/previewData endpoint incorporates the client-controlled table name value into generated SQL without safe identifier handling. An authenticated user can configure a datasource for the internal PostgreSQL service and submit a crafted table name to invoke functions such as pg read file(), pg read binary file(), or pg ls dir(), while remaining a SELECT operation under the read-only policy. In default trusted loopback authentication configurations, the internal connection may execute with PostgreSQL superuser privileges, allowing the retrieval of filesystem content, including /etc/hosts and /etc/passwd, potentially exposing configuration, credentials, authentication secrets, and source code.
Recommendations Update to version 1.9.0. Avoid using the table name parameter in the POST /api/v1/datasource/previewData endpoint until the update is applied.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-53556
GHSA-VWJQ-5H4H-X8G5

Affected Products

Postgresql
Sqlbot