ZeroHour

CVE-2026-86123

niche

Unauthenticated SSRF and arbitrary SQL execution in SQL Chat API endpoints

CVSS 4.0
9.4 critical
EPSS
<1%p26
Published
()
Modified
AI analysis

SQL Chat exposes four unauthenticated API endpoints that accept client-supplied database connection parameters and forward the caller's SQL statements to whichever database host those parameters specify. An unauthenticated remote attacker can abuse this by supplying their own host and connection details, causing the SQL Chat server to connect to attacker-specified databases, including internal ones, and execute arbitrary SQL, enumerate schemas, and reach other services on the server's network (server-side request forgery, CWE-918). The critical CVSS 4.0 score of 9.4 with high attack complexity reflects that impact depends on which internal networks and databases the SQL Chat server is able to reach. Any organization running SQL Chat is affected, with the greatest risk where the application is internet-exposed or sits on a network with access to sensitive internal databases. No public proof-of-concept, KEV listing, or known in-the-wild exploitation exists, and EPSS estimates only a 0.3% chance of exploitation within 30 days.

What to do: Until a patched release is identified (none is specified in the current data), restrict access to the SQL Chat API endpoints, for example behind an authenticating reverse proxy, and firewall the SQL Chat server's outbound network access so it can only connect to approved database hosts. Check whether your instance is internet-exposed and review internal database and network logs for unexpected connections or queries originating from the SQL Chat server. Monitor the vendor advisory for a fixed version and apply it when available.

Affected
Bytebase SQL Chat
Estimated exposure
nichelikely low thousands of self-hosted instances (exact count unknown) — SQL Chat is a niche open-source chat-based SQL client typically self-hosted by individual engineering teams behind corporate networks, and no active-install counts or internet-exposure scan data exist, so a low-thousands deployment base is…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

SQL Chat contains four unauthenticated API endpoints that accept client-supplied database connection parameters and execute arbitrary SQL queries against attacker-specified hosts. Attackers can connect to internal databases, execute SQL commands, enumerate schemas, and pivot into the server's network without authentication.

Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.