Vulnerability  ·  2026-11-29

DB-GPT editor_sql_run improper access control (db_name)

VulnerabilityMedium impactGlobalCVE-2026-137682
eosphoros-ai DB-GPT up to 0.8.2 has an improper-access-control flaw in the `editor_sql_run` function of packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py. Manipulation of the `db_name` argument leads to improper access controls; the attack is possible remotely. Published 2026-11-27. (Related to the higher-severity authorization-bypass CVE-2026-137684 in the same function.)
The SQL editor endpoint that an LLM agent uses to run queries can be redirected to databases the caller should not reach by manipulating db_name, enabling unauthorized data access inside a DB-GPT deployment.
Remote caller manipulates db_name in the editor_sql_run endpoint to bypass access controls and query unauthorized databases.
eosphoros-ai DB-GPT <= 0.8.2
Upgrade DB-GPT and enforce per-database authorization on the editor API.
NVD detailDB-GPT repo
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →