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.
Published: 2026-11-05
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Thu, 05 Nov 2026 12:00:00 +0000

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'}


Subscriptions

Eosphoros-ai Db-gpt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-11-05T11:45:20.056Z

Reserved: 2026-11-05T06:17:45.714Z

Link: CVE-2026-123018

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-05T12:17:49.940

Modified: 2026-11-05T12:17:50.097

Link: CVE-2026-123018

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T13:30:11Z

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')