Read the docs

Code injection in eosphoros-ai DB-GPT CodeAction execute_code

Priority HIGH 70CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.

Summary

eosphoros-ai DB-GPT up to 0.8.2 is affected. A flaw in the execute_code function of code_utils.py in the CodeAction component lets remote attackers inject code (CWE-94) without privileges or user interaction. A public exploit has been released and may be used for attacks. The project was informed through an issue report but has not responded yet.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00501 43rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
eosphoros-aiDB-GPT0.8.0; 0.8.1; 0.8.2—No fix listedCNA
  • DB-GPT Vendoreosphoros-ai Affected 0.8.0; 0.8.1; 0.8.2 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

The sources list no fixed version for DB-GPT.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-11-05 Threatist record created from CVE-2026-123018
  2. 2026-11-05 Alias added: GHSA-5h42-cm7h-7vh6
  3. 2026-11-05 CISA SSVC decision points changed
  4. 2026-11-05 Priority changed: MEDIUM → HIGH
  5. 2026-11-06 Affected versions changed · Red Hat
  6. 2026-11-06 CVSS score added · Red Hat

References

  • TI-2026-76663 Hardcoded MySQL root credentials in DB-GPT docker-compose deployment CVSS 4.0CRITICAL 9.3
  • TI-2026-76662 Unauthenticated remote code execution in DB-GPT via agent endpoint CVSS 4.0CRITICAL 9.3
  • TI-2026-51243 DB-GPT v0.8.1 Path Traversal Arbitrary File Write via user_id Header CVSS 4.0CRITICAL 9.3
  • TI-2024-10106 Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
  • TI-2024-10105 Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
  • TI-2024-10044 Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
See all 22 →

Sources