Skip to main content

DB-GPT CVE-2026-137684

| EUVDEUVD-2026-137465 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-27 VulDB GHSA-jh6m-rp4m-7gj5
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach DB-GPT Editor SQL Run API
  2. Exploit
    Submit crafted db_name for reserved datasource
  3. Execution
    Bypass datasource visibility authorization
  4. Impact
    Execute SQL against hidden internal database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires network reachability to the DB-GPT OpenAPI Editor SQL Run endpoint (editor_sql_run in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py) and the ability to control the db_name argument, which the attacker sets to a reserved/internal datasource name (e.g. the internal 'dbgpt' metadata database, or 'auth', 'test', 'public') that is intended to be hidden. The underlying condition is that reserved datasource names were excluded only from the listing view but remained resolvable by name, so no non-default feature toggle is needed - any deployment exposing this editor API before the fix is affected. Limiting factors: the CVSS vector claims PR:N (no authentication), but if your deployment places the editor API behind a login/session the attacker must first obtain that access; impact is bounded to partial read/write of reserved databases (C/I/A all Low, no scope change), not full server compromise.

Impact

Signals point to a moderate, not emergency, priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, low-complexity flaw, but the impact metrics are uniformly Low (VC:L/VI:L/VA:L, no scope change), yielding a 6.9 medium score - this is an authorization bypass (CWE-639) that lets a caller reach reserved/internal datasources, not a code-execution or full-database-compromise bug. There is no CISA KEV listing and no EPSS value supplied, so there is no evidence of active or widespread exploitation; the only exploit signal is the E:P (Proof-of-Concept) flag plus a GitHub issue reference, which is a public PoC reference, not verified working exploit code. The vuln.today Decision label is 'this_month', consistent with a medium-severity, patch-pending issue rather than act_now/emergency. One data tension to verify: the CVSS vector asserts PR:N (unauthenticated), yet an 'Editor SQL Run' API in an operator-facing data agent is often deployed behind a session - confirm whether the editor_sql_run endpoint is exposed without authentication in your deployment, since that determines whether this is truly pre-auth. Also note the patch status conflicts across sources (see confidence_notes).

Exploit ScenarioDerived

A remote attacker sends a request to the DB-GPT Editor SQL Run API (editor_sql_run) and supplies a crafted db_name that names a reserved/internal datasource (such as the internal 'dbgpt' metadata database or 'auth'/'test'/'public') which is normally hidden from the datasource listing. Because the pre-fix code filtered these names only from listings but still resolved them by name, the attacker bypasses the intended authorization boundary and runs SQL against a database they should not reach. A public PoC reference exists on the project's GitHub issue tracker; it is not verified as working exploit code, and the vector (AV:N/AC:L) indicates the request requires no special complexity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 27, 2026

Authorization bypass in eosphoros-ai DB-GPT through 0.8.3 lets remote callers reach reserved internal datasources - including the internal 'dbgpt' metadata database and the 'auth', 'test' and 'public' names - by supplying them directly in the db_name argument of the Editor SQL Run API (editor_sql_run). The reserved names were stripped only from datasource listing endpoints, so a crafted request that names one of them reaches data the listing deliberately hides, giving partial read and write to those databases. A public PoC reference exists (GitHub issue #3338); it is not verified as working exploit code, and no confirmed active exploitation is reported - the upstream fix is in pull request #3362 and no released patched version has been confirmed.

RemediationAI

No released patched version has been confirmed; the fix lives in upstream pull request https://github.com/eosphoros-ai/DB-GPT/pull/3362, which adds a shared datasource_visibility check that rejects hidden datasource names at every resolution point, so sites tracking this should apply that PR or upgrade to the first release that contains it and watch issue https://github.com/eosphoros-ai/DB-GPT/issues/3338 and the VulDB entry https://vuldb.com/vuln/444640 for the release announcement. Until then, since the bypass is reachable only where the Editor SQL Run endpoint is reachable, the effective control is reducing that reach: bind the DB-GPT OpenAPI to loopback or an internal interface, or front it with a reverse proxy that requires an authenticated session, at the cost of losing remote and client access for legitimate editor users and, for authenticated users, not removing the flaw itself - they can still name a reserved database. Renaming or dropping the 'dbgpt', 'auth', 'test' and 'public' datasources is not a dependable workaround, because the tests added in PR #3362 show matching survives case, whitespace and accent-insensitive collation variants such as 'dbĝpt'.

Affected VersionsENISA

db-gpt 0.8.0
db-gpt 0.8.2
db-gpt 0.8.3
db-gpt 0.8.1

Affected Packages

euvd db_gpt no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-639 authorization bypass through a user-controlled key. DB-GPT's SQL editor endpoint editor_sql_run in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py accepts a caller-supplied db_name and uses it to resolve which datasource connector to open, without re-checking whether that name is one the platform is supposed to expose. Prior enforcement was cosmetic: api_v1.py's get_db_list and db_connect_list filtered a hardcoded list ['auth', 'dbgpt', 'test', 'public'] from listing output only, so the names were invisible but still resolvable by the same callers. Fix PR #3362 introduces a shared datasource_visibility module with is_hidden_datasource and resolves_to_hidden_datasource and applies it at every resolution point - _require_database_access in agentic_data_api.py, the listing endpoints in api_v1.py, require_data_sources and the query path in dashboard/access.py, and DashboardQueryExecutor._get_connector in dashboard/query_executor.py. The accompanying tests are informative about the bypass surface: they parameterize 'dbgpt', 'DBGPT' and ' dbgpt ' (case and whitespace variants) and simulate an accent-insensitive collation that maps 'dbĝpt' onto the dbgpt row, meaning simple string comparison at the listing layer was never a reliable control. The trigger is the editor_sql_run SQL execution path being reachable with an attacker-chosen db_name; no non-default feature toggle is described as necessary, and per the independent assessment the deployment's own authentication in front of the editor API is the main variable in who can reach it.

Know when Db Gpt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 7.3 HIGH

Network-reachable API with low complexity and no authentication per the supplied vector; impact limited to partial access of reserved datasources, so C/I/A are each Low and scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 27, 2026 - 17:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Nov 27, 2026 - 16:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 69% exploitable
Prevalence
Low
niche open-source AI data-agent framework, limited production footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Db Gpt

View all
CVE-2024-10902 CRITICAL POC
9.8 Mar 20

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Uplo

CVE-2024-10835 CRITICAL POC
9.8 Mar 20

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queri

CVE-2026-77933 CRITICAL POC
9.3 Oct 20

DB-GPT through 0.8.2 ships a default docker-compose.yml that hardcodes the MySQL root password and publishes port 3306 o

CVE-2026-77932 CRITICAL POC
9.3 Oct 20

Unauthenticated remote code execution in DB-GPT through 0.8.2 allows remote attackers to reach the /api/v1/chat/react-ag

CVE-2024-10833 CRITICAL POC
9.1 Mar 20

eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. Rated critical sev

CVE-2024-10831 CRITICAL POC
9.1 Mar 20

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. Rated c

CVE-2024-10834 CRITICAL POC
9.1 Mar 20

eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file

CVE-2024-10830 HIGH POC
8.2 Mar 20

A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint `/v1/resource/file/de

CVE-2025-0452 HIGH POC
8.2 Mar 20

eosphoros-ai/DB-GPT version latest is vulnerable to arbitrary file deletion on Windows systems via the '/v1/agent/hub/up

CVE-2024-10906 HIGH POC
8.1 Mar 20

In version 0.6.0 of eosphoros-ai/db-gpt, the `uvicorn` app created by `dbgpt_server` uses an overly permissive instance

CVE-2026-136694 MEDIUM POC
5.5 Nov 25

Path traversal in eosphoros-ai DB-GPT up to 0.8.2 lets remote unauthenticated attackers write files outside the intended

CVE-2026-137681 MEDIUM POC
5.5 Nov 27

An authorization bypass (CWE-639) in eosphoros-ai DB-GPT up to and including version 0.8.2 allows remote attackers to ac

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy