Vulnerability  ·  2026-11-28

DB-GPT editor SQL Run API authorization bypass (db_name manipulation) with public exploit

VulnerabilityMedium impactGlobalCVE-2026-137684
CVE-2026-137684 (CVSS 7.3, CWE-285/CWE-639) is an authorization-bypass in DB-GPT's editor_sql_run handler, where manipulating the db_name argument lets a remote, unauthenticated caller run SQL against an unauthorized database. A public exploit has been released; the fix PR awaits acceptance. Related DB-GPT authorization-bypass findings (CVE-2026-137681, CVE-2026-137682, CVE-2026-137683) affect the same editor_sql_run / get_editor_tables / agentic-data react-agent functions.
DB-GPT is an AI/natural-language data agent that turns prompts into database operations. If the agent's SQL-editor endpoint lets a caller override the DB scope, a prompt-injected or malicious caller can read or modify data outside the authorized schema — a data-leakage path at the heart of an AI data agent's value proposition.
A remote attacker sends crafted requests to the editor_sql_run / get_editor_tables / _react_agent_stream_impl endpoints manipulating the db_name (or database_name) argument to bypass authorization and run SQL or read tables against a different database than the caller is entitled to.
eosphoros-ai DB-GPT 0.8.0 through 0.8.3 (Editor SQL Run API; also related 0.8.2–0.8.3 Editor/Agentic Data APIs)
Monitor for the pending fix PR (github.com/eosphoros-ai/DB-GPT/pull/3362) and patch once merged; until then restrict access to the editor/agentic API endpoints and validate that db_name selection is authorization-scoped.
DB-GPT repository / fix PRNVD record
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →