Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach DB-GPT Editor SQL Run API
-
ExploitSubmit crafted db_name for reserved datasource
-
ExecutionBypass datasource visibility authorization
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Uplo
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queri
DB-GPT through 0.8.2 ships a default docker-compose.yml that hardcodes the MySQL root password and publishes port 3306 o
Unauthenticated remote code execution in DB-GPT through 0.8.2 allows remote attackers to reach the /api/v1/chat/react-ag
eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. Rated critical sev
In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. Rated c
eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file
A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint `/v1/resource/file/de
eosphoros-ai/DB-GPT version latest is vulnerable to arbitrary file deletion on Windows systems via the '/v1/agent/hub/up
In version 0.6.0 of eosphoros-ai/db-gpt, the `uvicorn` app created by `dbgpt_server` uses an overly permissive instance
Path traversal in eosphoros-ai DB-GPT up to 0.8.2 lets remote unauthenticated attackers write files outside the intended
An authorization bypass (CWE-639) in eosphoros-ai DB-GPT up to and including version 0.8.2 allows remote attackers to ac
EUVD-2026-137465
GHSA-jh6m-rp4m-7gj5
NVD
CVE.org
EPSS
VulDB
Exploit-DB