# CVE-2026-86123: SQL Chat Unauthenticated Database-Connection Proxy in the /api/connection Endpoints

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-05T09:59:11.420Z
- Modified: 2026-09-24T20:43:32.537Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- sqlchat sqlchat: up to 665af875413affadfeefff81794f1d7758782bc2

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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`
- VulnCheck: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/sqlchat/sqlchat/issues/189> (exploit, issue-tracking)
- <https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/execute.ts> (technical-description)
- <https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/test.ts> (technical-description)
- <https://github.com/sqlchat/sqlchat> (product)
- <https://www.vulncheck.com/advisories/sql-chat-unauthenticated-database-connection-proxy-in-the-api-connection-endpoints> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-86123](https://www.cve.org/CVERecord?id=CVE-2026-86123), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-86123](https://nvd.nist.gov/vuln/detail/CVE-2026-86123), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-86123 · Whole record: https://cve.day/CVE-2026-86123.json · Rebuilt by cve.day 2026-11-25T22:59:36.445Z
