# CVE-2026-123018: eosphoros-ai DB-GPT CodeAction code_utils.py execute_code code injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-05T11:45:20.056Z
- Modified: 2026-11-05T21:18:45.220Z
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- eosphoros-ai DB-GPT: 0.8.0; 0.8.1; 0.8.2

## Every score

- VulDB: CVSS:4.0 6.9 Medium `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`
- VulDB: CVSS:3.1 8.3 High `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`
- VulDB: CVSS:3.0 8.3 High `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`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-codeaction-native-subprocess-llm-code-execution.md> (exploit)
- <https://vuldb.com/vuln/431392> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/431392/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-123018> (third-party-advisory)
- <https://vuldb.com/submit/1033094> (third-party-advisory)
- <https://github.com/eosphoros-ai/DB-GPT/issues/3287> (issue-tracking)
- <https://github.com/eosphoros-ai/DB-GPT/> (product)

## Sources

- CVE List: [CVE-2026-123018](https://www.cve.org/CVERecord?id=CVE-2026-123018), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-123018](https://nvd.nist.gov/vuln/detail/CVE-2026-123018), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-123018 · Whole record: https://cve.day/CVE-2026-123018.json · Rebuilt by cve.day 2026-11-25T22:59:49.098Z
