CVE-2026-86123 in SQL Chatinfo

Summary

by MITRE • 09/05/2026

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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 09/05/2026

The vulnerability in question represents a critical security failure within an application named SQL Chat, characterized by the presence of four unauthenticated API endpoints that accept client-supplied database connection parameters. This design flaw allows external actors to bypass any form of access control or authentication mechanism typically required for administrative operations. By accepting arbitrary connection strings provided directly from the client side, the system effectively delegates trust to user input without performing adequate validation or sanitization checks on the host addresses specified in those parameters.

From a technical perspective, this constitutes an Unrestricted Resource Consumption combined with Server-Side Request Forgery (SSRF) and SQL Injection capabilities. The application processes these external inputs by constructing database connection objects that point to attacker-specified hosts rather than internal, hardcoded configurations. Consequently, the backend system executes arbitrary SQL queries against databases located on remote servers controlled by the adversary. This mechanism transforms a standard web service into an open proxy for database interactions, enabling direct manipulation of data structures and execution commands without any prerequisite credentials or session validation.

The operational impact of this vulnerability is severe, as it grants attackers full administrative-level access to targeted database systems. Once connected, adversaries can enumerate schemas, extract sensitive data such as personally identifiable information or financial records, and modify existing entries. Furthermore, because the application executes these queries from within its own network environment, it serves as a pivot point for lateral movement. Attackers can leverage this foothold to scan internal networks, identify other vulnerable services, and expand their access deeper into the organization's infrastructure, effectively compromising the integrity of the entire database ecosystem connected through this endpoint.

This flaw aligns with CWE-94 Improper Control of Generation of Code SQL Injection when considering the execution aspect, but more critically maps to CWE-918 Server-Side Request Forgery due to the ability to direct internal resources based on external input. In terms of offensive security frameworks like MITRE ATT&CK, this behavior corresponds to T1210 Exploitation of Remote Services and potentially T1534 Internal Spearphishing if used for further lateral movement within a compromised network segment. The lack of authentication also relates to CWE-862 Missing Authorization, indicating a fundamental failure in the application's security architecture regarding access control policies.

To mitigate this vulnerability, immediate remediation is required by enforcing strict input validation on all API endpoints that handle database connection parameters. Developers should implement allowlists for host addresses and port numbers, ensuring that only predefined internal IP ranges or domain names are accepted. Additionally, implementing robust authentication mechanisms such as OAuth2 or JWT tokens for these administrative endpoints would prevent unauthenticated access entirely. Network-level controls like firewalls can also be configured to restrict outbound connections from the application server to known database hosts, adding a layer of defense-in-depth that limits the blast radius even if code-level fixes are delayed.

Responsible

VulnCheck

Reservation

09/05/2026

Disclosure

09/05/2026

Moderation

accepted

CPE

ready

EPSS

0.00332

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!