CVE-2026-123018

eosphoros-ai DB-GPT CodeAction code_utils.py execute_code code injection

Published Nov 5, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in the execute_code function of eosphoros‑ai DB‑GPT’s CodeAction component allows an attacker to inject arbitrary code. By passing specially crafted input to the vulnerable code_utils.py routine, command and code injection (CWE‑74 and CWE‑94) can occur, giving the attacker the ability to run arbitrary commands on the host. This weakness can compromise confidentiality, integrity, and availability of the affected system, and it is activated through a remote input vector.

Affected Systems

The flaw affects eosphoros‑ai DB‑GPT versions up to and including 0.8.2. The injected code is executed within the context of the application’s runtime, so only systems running the vulnerable release and using the CodeAction execute_code feature are impacted.

Risk and Exploitability

The CVSS score of 6.9 classifies the risk as moderate. The exploit is publicly available and has been released to the public, indicating that an attacker has already demonstrated the technique. Although the EPSS score is not available, the existence of a released exploit and the ability to trigger it remotely increases the likelihood of real‑world attacks. The vulnerability is not listed in the CISA KEV catalog, but the lack of a formal vendor response suggests a potential window for mitigation. The attack vector is remote and can be invoked by sending malicious input to the execute_code endpoint, which then executes the payload without adequate input validation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DB‑GPT to version 0.8.3 or later to obtain the vendor patch
  • Disable or restrict the use of the CodeAction execute_code feature on untrusted data sources
  • Implement input validation and sanitization for any data passed to execute_code to prevent command and code injection

Generated by OpenCVE AI on November 5, 2026 at 13:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title eosphoros-ai DB-GPT CodeAction code_utils.py execute_code code injection
First Time appeared Eosphoros-ai
Eosphoros-ai db-gpt
Weaknesses CWE-74
CWE-94
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': 8.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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:L/SI:L/SA:L/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 5, 2026, 8:45 PM
Reserved
Nov 5, 2026, 6:17 AM
Status
Deferred
Published
Nov 5, 2026, 12:17 PM
Modified
Nov 5, 2026, 9:18 PM