CVE-2026-123018 Details
Description
A security flaw has been discovered in eosphoros-ai DB-GPT up to 0.8.2. This issue affects the function execute_code of the file code_utils.py of the component CodeAction. Performing a manipulation results in code injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
A code injection vulnerability has been identified in Eosphoros-AI DB-GPT versions through 0.8.2. The issue arises in the CodeAction component, specifically within the execute_code function of code_utils.py. This vulnerability allows for arbitrary code execution on the server where DB-GPT is running, without any authentication or authorization. The problem is particularly pronounced in the official Docker deployment, where the application's own security measures are bypassed, leaving the server process exposed to executed code from the LLM. The vulnerability can also be exploited in bare-metal deployments without the Docker SDK.
Users are advised to restrict access to the DB-GPT service, particularly the default port 5670, to trusted internal networks. Avoid using the CodeEngineer agent until an official patch is released. Monitor for signs of subprocess execution and unexpected file writes within the Docker container.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 5, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/eosphoros-ai/DB-GPT/ | [email protected] | ProductSource CodeVendor |
| https://github.com/eosphoros-ai/DB-GPT/issues/3287 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-codeaction-native-subprocess-llm-code-execution.md | [email protected] | AdvisoryBundleExploitRemedy |
| https://vuldb.com/cve/CVE-2026-123018 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1033094 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/431392 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/431392/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| eosphoros-ai DB-GPT | 0.8.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Nov 5, 2026 | New CVE Received | [email protected] |
Volerion