{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "665af875413affadfeefff81794f1d7758782bc2"
            }
          ],
          "repo": "https://github.com/sqlchat/sqlchat",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86123.json"
  },
  "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.",
  "id": "CVE-2026-86123",
  "modified": "2026-10-08T02:30:26.123497241Z",
  "published": "2026-09-05T09:59:11.420Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SQL Chat Unauthenticated Database-Connection Proxy in the /api/connection Endpoints"
}