{"id":"CVE-2026-86123","summary":"SQL Chat Unauthenticated Database-Connection Proxy in the /api/connection Endpoints","details":"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.","modified":"2026-10-08T02:52:14.349958880Z","published":"2026-09-05T09:59:11.420Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86123.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-918"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86123.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86123"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/sql-chat-unauthenticated-database-connection-proxy-in-the-api-connection-endpoints"},{"type":"REPORT","url":"https://github.com/sqlchat/sqlchat/issues/189"},{"type":"PACKAGE","url":"https://github.com/sqlchat/sqlchat"},{"type":"ARTICLE","url":"https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/execute.ts"},{"type":"ARTICLE","url":"https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/test.ts"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sqlchat/sqlchat","events":[{"introduced":"0"},{"last_affected":"665af875413affadfeefff81794f1d7758782bc2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86123.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}