Read the docs

Improper access control in DB-GPT editor_sql_run allows remote access

Priority HIGH 70CWE-266Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Privilege escalation, Security bypass
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-266 and CWE-284.

Summary

DB-GPT from eosphoros-ai up to and including 0.8.2 has improper access control in the editor_sql_run function of api_editor_v1.py. Manipulating the db_name argument lets a remote attacker bypass access restrictions (CWE-284). The exploit has been publicly disclosed and may be used.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

A vulnerability was determined in eosphoros-ai DB-GPT up to 0.8.2. The affected element is the function editor_sql_run of the file packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py. This manipulation of the argument db_name causes improper access controls. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00446 30th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
eosphoros-aiDB-GPT0.8.0; 0.8.1; 0.8.2—No fix listedCNA
  • DB-GPT Vendoreosphoros-ai Affected 0.8.0; 0.8.1; 0.8.2 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

The sources list no fixed version for DB-GPT. A pull request to fix this issue awaits acceptance.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-27 Threatist record created from CVE-2026-137682
  2. 2026-11-27 Alias added: GHSA-m3mp-vqgg-8h7w
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-76663 Hardcoded MySQL root credentials in DB-GPT docker-compose deployment CVSS 4.0CRITICAL 9.3
  • TI-2026-76662 Unauthenticated remote code execution in DB-GPT via agent endpoint CVSS 4.0CRITICAL 9.3
  • TI-2026-51243 DB-GPT v0.8.1 Path Traversal Arbitrary File Write via user_id Header CVSS 4.0CRITICAL 9.3
  • TI-2024-10106 Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
  • TI-2024-10105 Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
  • TI-2024-10044 Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
See all 27 →

Sources