---
id: CVE-2026-123018
title: eosphoros-ai DB-GPT CodeAction code_utils.py execute_code code injection
summary: >-
  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 c…
severity: high
cvss: 8.3
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-94
  - CWE-74
vendor: eosphoros-ai
product: DB-GPT
affected:
  - DB-GPT 0.8.0
  - DB-GPT 0.8.1
  - DB-GPT 0.8.2
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-11-05T20:45:11.685136Z'
exploitAvailable: true
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:45:21.991Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-123018'
references:
  - url: 'https://vuldb.com/vuln/431392'
    label: >-
      VDB-431392 | eosphoros-ai DB-GPT CodeAction code_utils.py execute_code
      code injection
  - url: 'https://vuldb.com/vuln/431392/cti'
    label: 'VDB-431392 | CTI Indicators (IOB, IOC, TTP, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-123018'
    label: CVE-2026-123018 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1033094'
    label: >-
      Submit #1033094 | eosphoros-ai DB-GPT 0.8.1 CWE-94 Improper Control of
      Generation of Code ('Code Injection')
  - url: 'https://github.com/eosphoros-ai/DB-GPT/issues/3287'
  - url: >-
      https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-codeaction-native-subprocess-llm-code-execution.md
  - url: 'https://github.com/eosphoros-ai/DB-GPT/'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-11-05T22:38:31.880Z'
---

## Overview

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.

## Affected

- `DB-GPT 0.8.0`
- `DB-GPT 0.8.1`
- `DB-GPT 0.8.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
