CVE-2026-137684

eosphoros-ai DB-GPT Editor SQL Run API api_editor_v1.py editor_sql_run authorization

Published Nov 27, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A flaw in the DB-GPT Editor SQL Run API permits manipulating the db_name parameter to bypass authorization checks. This causes unauthenticated users to execute arbitrary SQL queries on any database configured within the system. The vulnerability is thus a direct path to compromise database confidentiality and integrity, as attackers can read, modify, or delete data without proper permissions. The weakness aligns with improper privilege checks and user-controlled authorization keys.

Affected Systems

The issue affects eosphoros‑ai’s DB‑GPT application, specifically all releases up to and including version 0.8.3. Users running older or unpatched builds are susceptible, regardless of deployment environment or network exposure.

Risk and Exploitability

With a CVSS score of 6.9 the vulnerability is classified as medium severity. EPS is not reported and the flaw is not listed in the CISA KEV catalog, but an exploit has already been published publicly and can be triggered remotely through the API. The exposure window remains open until the pending pull request is merged and the fix released, after which monitoring of the authorization logic will be essential to detect any potential workarounds. The attack vector is likely remote, requiring only API access to initiate the bypass.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the security update from the accepted pull request that restores proper authorization checks for the db_name parameter
  • Enforce strict API authentication and role‑based access controls so that only privileged users can invoke the editor_sql_run endpoint
  • Validate and sanitize the db_name argument, rejecting any value that does not match approved database names
  • Implement logging and alerting for unusual or unauthorized database access attempts to detect future exploitation

Generated by OpenCVE AI on November 27, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title eosphoros-ai DB-GPT Editor SQL Run API api_editor_v1.py editor_sql_run authorization
First Time appeared Eosphoros-ai
Eosphoros-ai db-gpt
Weaknesses CWE-285
CWE-639
CPEs cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:*
Vendors & Products Eosphoros-ai
Eosphoros-ai db-gpt
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 27, 2026, 4:15 PM
Reserved
Nov 26, 2026, 8:59 PM
Status
Deferred
Published
Nov 27, 2026, 5:17 PM
Modified
Nov 27, 2026, 5:17 PM