What happened
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.)
Why it matters
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.
Attack vector
Remote caller manipulates db_name in the editor_sql_run endpoint to bypass access controls and query unauthorized databases.
Affected systems
eosphoros-ai DB-GPT <= 0.8.2
Mitigation
Upgrade DB-GPT and enforce per-database authorization on the editor API.