Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-77933 Overview
CVE-2026-77933 is a hardcoded credentials vulnerability affecting DB-GPT releases through version 0.8.2. The default docker-compose.yml ships with a static MYSQL_ROOT_PASSWORD and binds MySQL port 3306 on all network interfaces. Any attacker who reaches port 3306 or joins the shared dbgptnet Docker network can authenticate as root@% and obtain full database access, including FILE and SUPER privileges. The flaw is tracked under CWE-1392: Use of Default Credentials and carries a CVSS 4.0 score of 9.3.
Critical Impact
Remote, unauthenticated attackers gain root-level MySQL access, enabling data theft, tampering, and arbitrary file read or write on the database host.
Affected Products
- DB-GPT through version 0.8.2 (eosphoros-ai)
- Default docker-compose.yml deployments exposing port 3306
- Containers attached to the shared dbgptnet Docker network
Discovery Timeline
- 2026-10-20 - CVE-2026-77933 published to the National Vulnerability Database
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-77933
Vulnerability Analysis
DB-GPT is an open-source framework that connects large language models to relational databases. Its reference deployment relies on a Docker Compose manifest that provisions a MySQL container alongside the application. The manifest hardcodes the MySQL root password and maps container port 3306 to the host, making the database reachable from any network that can route to the host. Because the password is identical across every installation that uses the default manifest, the credential is effectively public and can be read directly from the project repository.
An attacker who identifies an exposed DB-GPT host can authenticate as root@% without prior reconnaissance. The resulting session carries administrative privileges, allowing the attacker to read or modify any schema, create new users, and leverage FILE to read local files or write arbitrary content to disk. SUPER privileges additionally permit changes to replication, logging, and runtime variables.
Root Cause
The root cause is the inclusion of a static secret in a distributed configuration file combined with an insecure default network binding. The docker-compose.yml sets MYSQL_ROOT_PASSWORD to a known value and publishes 3306:3306 on 0.0.0.0, violating the principle of secrets segregation. Operators who deploy the manifest unchanged inherit both weaknesses simultaneously.
Attack Vector
Exploitation requires only network reachability to the MySQL port or membership in the dbgptnet bridge network. No user interaction, prior authentication, or elevated privileges are needed. An adversary scans for TCP 3306 on hosts running DB-GPT, supplies the known root password, and executes SQL statements with full administrative control. Lateral movement from any container joined to dbgptnet is equally trivial.
See the VulnCheck advisory on DB-GPT and the vulnerable docker-compose.yml for the specific configuration lines involved.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-77933
Indicators of Compromise
- Successful MySQL authentication events for root@% originating from unexpected source IP addresses in mysql.general_log or audit logs.
- Unexpected invocations of LOAD DATA INFILE, SELECT ... INTO OUTFILE, or CREATE USER statements against the DB-GPT MySQL instance.
- New or modified MySQL user accounts, privilege grants, or stored routines created outside of change management windows.
- Outbound connections from the MySQL container to attacker-controlled hosts following administrative queries.
Detection Strategies
- Scan internal and external attack surfaces for TCP 3306 exposure on hosts running DB-GPT images.
- Inspect running containers for the default MYSQL_ROOT_PASSWORD value referenced in the upstream docker-compose.yml.
- Enable MySQL audit logging and alert on root-level logins from addresses outside the application tier.
Monitoring Recommendations
- Forward MySQL authentication and query logs into a centralized analytics pipeline for correlation with network telemetry.
- Baseline normal DB-GPT query patterns and flag deviations such as privilege changes or file-system access via SQL.
- Monitor Docker bridge networks for unauthorized container attachments to dbgptnet or similar shared networks.
How to Mitigate CVE-2026-77933
Immediate Actions Required
- Rotate the MySQL root password immediately and remove any hardcoded value from version-controlled files.
- Restrict the published MySQL port by binding 3306 to 127.0.0.1 or an internal interface only, rather than 0.0.0.0.
- Audit MySQL user accounts, privileges, and recent query logs for signs of unauthorized activity.
- Isolate DB-GPT containers on a dedicated, access-controlled Docker network with explicit service-to-service rules.
Patch Information
At the time of publication, no upstream fix had been assigned to a specific DB-GPT release. Operators running version 0.8.2 or earlier should treat the default docker-compose.yml as insecure and apply the configuration hardening steps below. Monitor the Lasso Security advisory for CVE-2026-77933 and the DB-GPT GitHub repository for a patched manifest.
Workarounds
- Replace the hardcoded MYSQL_ROOT_PASSWORD with a strong value sourced from a secrets manager or .env file excluded from source control.
- Change the port mapping from 3306:3306 to 127.0.0.1:3306:3306 so MySQL is not exposed on external interfaces.
- Create a dedicated non-root MySQL account for the DB-GPT application and disable remote root logins by scoping privileges to root@localhost.
- Place DB-GPT behind a host firewall or security group that denies inbound traffic to port 3306 from untrusted sources.
# Harden docker-compose.yml for DB-GPT
services:
db:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- "127.0.0.1:3306:3306"
networks:
- dbgptnet
networks:
dbgptnet:
internal: true
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

