CVE-2026-86123
9.4
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| sqlchat | sqlchat | 0 <= 665af875413affadfeefff81794f1d7758782bc2 | affected |
Weaknesses
- CWE-918: Server-Side Request Forgery (SSRF)
References
- https://github.com/sqlchat/sqlchat/issues/189
- https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/execute.ts
- https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/test.ts
- https://github.com/sqlchat/sqlchat
- https://www.vulncheck.com/advisories/sql-chat-unauthenticated-database-connection-proxy-in-the-api-connection-endpoints
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.