{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.8.0"
                  },
                  {
                    "last_affected": "0.8.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.8.1"
                  },
                  {
                    "last_affected": "0.8.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.8.2"
                  },
                  {
                    "last_affected": "0.8.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "0.8.3"
                  },
                  {
                    "last_affected": "0.8.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          "events": [
            {
              "introduced": "a3f21350a97aa713e6223b052984dd5d939233f2"
            },
            {
              "last_affected": "547882b84b15b32b2894f1bccc6bfb535b7b70c3"
            }
          ],
          "repo": "https://github.com/eosphoros-ai/db-gpt",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.8.0",
        "0.8.1",
        "0.8.2",
        "0.8.3"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-285",
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137684.json"
  },
  "details": "A security flaw has been discovered in eosphoros-ai DB-GPT up to 0.8.3. This affects the function editor_sql_run of the file packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py of the component Editor SQL Run API. Performing a manipulation of the argument db_name results in authorization bypass. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The pull request to fix this issue awaits acceptance.",
  "id": "CVE-2026-137684",
  "modified": "2026-11-27T17:45:48.481521777Z",
  "published": "2026-11-27T16:15:11.953Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137684.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/eosphoros-ai/DB-GPT/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/eosphoros-ai/DB-GPT/issues/3338"
    },
    {
      "type": "FIX",
      "url": "https://github.com/eosphoros-ai/DB-GPT/pull/3362"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137684"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-137684"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1064604"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/444640"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/444640/cti"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "eosphoros-ai DB-GPT Editor SQL Run API api_editor_v1.py editor_sql_run authorization"
}