CVE-2026-86123
Received Received - Intake

Unauthenticated SQL Injection in SQL Chat API Endpoints

Vulnerability report for CVE-2026-86123, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-05

Last updated on: 2026-09-05

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-05
Last Modified
2026-09-05
Generated
2026-09-05
AI Q&A
2026-09-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sqlchat sqlchat to 665af875413affadfeefff81794f1d7758782bc2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in SQL Chat allows unauthenticated attackers to exploit four API endpoints by supplying arbitrary database connection parameters. These endpoints can execute SQL queries against attacker-specified hosts without authentication, enabling access to internal databases, schema enumeration, and network pivoting.

Detection Guidance

Check for unauthorized access to the /api/connection/execute, /api/connection/test, /api/connection/db_schema, and /api/connection/db endpoints. Monitor logs for POST requests with arbitrary database connection parameters or SQL query execution attempts. Use network scanning tools to detect unexpected outbound connections from the SQL Chat server to internal hosts.

Impact Analysis

Attackers could connect to internal databases, execute malicious SQL commands, steal sensitive data, or move laterally within the server's network. This could lead to data breaches, unauthorized access to confidential information, or compromise of the entire system.

Compliance Impact

This vulnerability could violate GDPR by exposing personal data without authorization and HIPAA by allowing unauthorized access to protected health information. Non-compliance may result in legal penalties, fines, and reputational damage due to data breaches.

Mitigation Strategies

Immediately restrict access to the vulnerable endpoints by enforcing authentication. Block loopback, link-local, and private IP ranges in the API handlers. Implement an operator-configured host allowlist to prevent connections to unauthorized systems. Update to a patched version of SQL Chat beyond commit hash 665af875413affadfeefff81794f1d7758782bc2.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-86123. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart