{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.2.0"
              },
              {
                "last_affected": "0.2.0"
              },
              {
                "introduced": "0.2.1"
              },
              {
                "last_affected": "0.2.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "de4b81bd2de21238c04c4ce0c5cc19164ceb95cf"
            },
            {
              "last_affected": "b28da615a0b0a2c9eb5f79cc244bad842dbe2e8b"
            }
          ],
          "repo": "https://github.com/zhongyu09/openchatbi",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.2.0",
        "0.2.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-74",
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5586.json"
  },
  "details": "A vulnerability was determined in zhongyu09 openchatbi up to 0.2.1. The impacted element is an unknown function of the component Multi-stage Text2SQL Workflow. Executing a manipulation of the argument keywords can lead to sql injection. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized.",
  "id": "CVE-2026-5586",
  "modified": "2026-07-15T01:49:11.078892562Z",
  "published": "2026-04-05T18:00:13.356Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/zhongyu09/openchatbi/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5586.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5586"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/784454"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/355385"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/zhongyu09/openchatbi/issues/11"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/355385/cti"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/Ka7arotto/cve/blob/main/openchatbi-SQL/issue.md"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "zhongyu09 openchatbi Multi-stage Text2SQL Workflow sql injection"
}