Skip to content
Tuesday, October 20, 2026AboutContactRSS
Vulnerabilities

DB-GPT 0.8.2 Exposes MySQL Root Credentials via Default Docker Configuration

A critical flaw in DB-GPT through version 0.8.2 allows attackers to access database root privileges using hardcoded static passwords in default deployment files.

Updated with new details.
Illustration: A sleek artificial intelligence terminal sits on a dark desk.
AI-generated illustration: Threat Times

Key points

  • CVE-2026-77933 is rated Critical with a CVSS score of 9.3 by the National Vulnerability Database.
  • The vulnerability affects eosphoros-ai DB-GPT versions up to and including 0.8.2.
  • Default docker-compose.yml files publish MySQL port 3306 on all network interfaces.

The National Vulnerability Database has assigned CVE-2026-77933 to a critical security flaw in eosphoros-ai DB-GPT. This vulnerability allows unauthorized users to gain full administrative access to the application's MySQL database. The issue stems from hardcoded credentials found in the default deployment configuration files for versions through 0.8.2.

At a glance

CVE
CVE-2026-77933
Product
eosphoros-ai DB-GPT
CVSS
9.3 Critical
Weakness
CWE-1392
Exploited
No known exploitation

According to the NVD record, the flaw carries a CVSS score of 9.3, which is classified as Critical. The weakness is categorized under CWE-1392, indicating an inclusion of sensitive information in a configuration file. Attackers who can reach the affected service on port 3306 or connect to the shared dbgptnet network can exploit this misconfiguration without needing to bypass authentication mechanisms.

Technical Details of the Exposure

The core issue lies within the default docker-compose.yml file provided with DB-GPT installations. This file sets a static MYSQL_ROOT_PASSWORD that remains unchanged unless manually edited by the administrator. Furthermore, the configuration publishes port 3306 on all network interfaces, making the database service accessible from any connected network segment rather than restricting it to localhost or internal containers.

An attacker gaining network access can authenticate as root@% using the hardcoded password. This grants them full database access, including high-privilege capabilities such as FILE and SUPER privileges. These permissions allow the attacker to read and write files on the host system and manage all database operations, potentially leading to complete compromise of the underlying infrastructure.

Scope of Affected Systems

The vulnerability affects eosphoros-ai DB-GPT through version 0.8.2. Any deployment using the default docker-compose.yml configuration without modifying the password or network binding settings is vulnerable. Organizations running these versions in production environments or development labs are at risk if the MySQL port is exposed to untrusted networks or the public internet.

The NVD record does not specify whether earlier versions before the current release cycle are affected, but it explicitly lists "through 0.8.2" as the affected range. Users of the dbgptnet shared network are also at risk, as the hardcoded credentials allow lateral movement within the container network if an attacker compromises any other service on that network segment.

What should you do?

Security teams should immediately audit their DB-GPT deployments for the presence of default docker-compose.yml configurations. Administrators must verify that the MYSQL_ROOT_PASSWORD has been changed from its static default value. Network rules should be reviewed to ensure that port 3306 is not published on all interfaces, restricting access to trusted internal networks only.

What to do and how to stay safe: DB-GPT

  • Review docker-compose.yml files in DB-GPT installations to ensure the MYSQL_ROOT_PASSWORD is not set to a static default value.
  • Restrict access to port 3306 by binding it to localhost or specific internal IP addresses rather than publishing it on all interfaces.
  • Monitor network logs for unauthorized connection attempts to port 3306 or unexpected authentication events from the root@% user account.
  • Update DB-GPT to the latest available version once the vendor provides a patch that addresses the hardcoded credential issue.

Step-by-step guide: Risk-Based Vulnerability Management: Prioritize Fixes by Actual Danger

General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.

Frequently asked questions

What is the CVSS score for CVE-2026-77933?

The National Vulnerability Database rates CVE-2026-77933 as Critical with a CVSS score of 9.3.

Which versions of DB-GPT are affected by this vulnerability?

The vulnerability affects eosphoros-ai DB-GPT through version 0.8.2, as stated in the NVD record.

How can an attacker exploit this flaw?

Attackers can exploit the flaw by connecting to port 3306 or the dbgptnet network and authenticating as root@% using the hardcoded static password.

Sources

  1. CVE Program
  2. NVD
DB-GPTeosphoros-aiCVE-2026-77933MySQLdocker-compose
Related articles