CVE-2026-137681 in DB-GPTinfo

Summary

by MITRE • 11/27/2026

A vulnerability was found in eosphoros-ai DB-GPT up to 0.8.2. Impacted is the function _react_agent_stream_impl of the file packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py of the component Agentic Data API React Agent. The manipulation of the argument database_name results in authorization bypass. The attack can be executed remotely. The exploit has been made public and could be used. Upgrading to version 0.8.3 is recommended to address this issue. The patch is identified as 61a0460e363552e2e9722905605c86622a216d40. The affected component should be upgraded.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified in eosphoros-ai DB-GPT versions up to 0.8.2 represents a critical security flaw within the Agentic Data API React Agent component, specifically located in the _react_agent_stream_impl function found in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py. This issue stems from improper control of user-supplied input regarding the database_name argument, which leads to a direct authorization bypass. In secure software architecture, functions handling sensitive data operations must strictly validate and sanitize inputs to ensure that users can only access resources for which they have been explicitly granted permission. The failure in this implementation allows an attacker to manipulate the database name parameter to circumvent these checks, effectively granting unauthorized access to underlying databases managed by the DB-GPT system.

From a technical perspective, this flaw aligns with CWE-287, Improper Authentication, and more specifically CWE-306, Missing Authentication for Critical Function. The root cause lies in the logic of the _react_agent_stream_impl function, which likely fails to verify that the authenticated user possesses sufficient privileges before processing requests related to specific database instances. By exploiting this gap, an attacker can issue API calls with crafted payloads where the database_name field is altered or injected to target databases outside their authorized scope. This type of vulnerability is particularly dangerous in AI-driven data platforms because it undermines the fundamental principle of least privilege, allowing potential lateral movement within the infrastructure if multiple databases are hosted on the same instance.

The operational impact of this vulnerability is severe due to its remote exploitable nature and the public availability of exploit code. An attacker located remotely can leverage existing tools or custom scripts to send malicious requests to the affected API endpoint without requiring prior authentication for the target database, although they may need valid credentials for the DB-GPT application itself depending on the specific implementation details not fully disclosed in the summary. The consequence is a complete compromise of data confidentiality and integrity for any databases accessible through this interface. Sensitive information such as customer records, financial data, or proprietary business intelligence could be exfiltrated, modified, or deleted. Furthermore, because DB-GPT often serves as an intermediary between natural language queries and database engines, successful exploitation could potentially lead to SQL injection scenarios if the manipulated input is subsequently concatenated into query strings without further sanitization, thereby amplifying the risk beyond simple authorization bypass.

This vulnerability maps directly to MITRE ATT&CK technique T1078, Valid Accounts, as it involves abusing legitimate credentials or system access mechanisms to gain unauthorized privileges. It also relates to TA0001, Initial Access, if used for initial entry into a restricted network segment containing the database servers. The public disclosure of exploit code significantly increases the likelihood of automated attacks and widespread compromise across organizations running unpatched instances. Attackers do not need sophisticated custom development skills; they can utilize existing proof-of-concept scripts to identify vulnerable systems on the internet and execute data theft or disruption campaigns rapidly.

To mitigate this risk, immediate action is required by upgrading DB-GPT to version 0.8.3 or later, where the patch identified as commit hash 61a0460e363552e2e9722905605c86622a216d40 addresses the authorization logic flaw. This update likely introduces stricter validation checks for the database_name parameter, ensuring that access control lists are consulted before any data retrieval or manipulation occurs. In addition to upgrading, organizations should implement network-level controls such as web application firewalls to filter anomalous API requests and monitor logs for unusual patterns of database access. Regular security audits and penetration testing focused on authentication bypasses in agentic AI components are recommended to ensure that similar flaws do not persist in future releases or custom integrations.

Responsible

VulDB

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00568

KEV

no

Activities

low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!