The DB-GPT CodeAction runner used the presence of a Docker container as a condition to execute generated Python or shell in the current application process environment instead of a disposable sandbox. CVE-2026-123018 reports LLM-generated code reaching service-container subprocesses with a permissive approval path. Container execution does not itself…
Inspect the ClaimsCase · DiggingBeagle record
DB-GPT CodeAction executed model-generated code in its own application container
The DB-GPT CodeAction runner used the presence of a Docker container as a condition to execute generated Python or shell in the current application process environment instead of a disposable sandbox. CVE-2026-123018 reports LLM-generated code reaching service-container subprocesses with a permissive approval path.
Public disclosure: Nov 5, 2026
Reported security vulnerability; exploitation prerequisites and tested version scope matter. No real-world exploitation is established unless separately reported.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade C
- Remediation
- mitigation available
- AI role
- AGAINST AI
Basis and provenance
research demonstration; demonstrated. The cited primary disclosure supports the specific sequence and boundaries described here: A model or caller produces executable code through a DB-GPT CodeAction workflow. The evidence does not independently establish consequences beyond the record's supported outcome; a numerical impact band cannot be justified from the available evidence. Evidence grade C reflects the source attribution and independent verification limits.
Assessed Nov 7, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-DB07-021-OUTCOME · CLM-DB07-021-MECHANISM · Advisory: DB-GPT CodeAction runs model-generated Python/shell in main application container instead of disposable sandbox
At a glance
Always isolate action execution from the orchestrator, require approval for meaningful effects and test actual namespace and secret exposure.
Read the implicationsContainer-service context, not proven physical-host escape; no patched version reported or real attack.
Limits and uncertaintyFull account
The DB-GPT CodeAction runner used the presence of a Docker container as a condition to execute generated Python or shell in the current application process environment instead of a disposable sandbox.
CVE-2026-123018 reports LLM-generated code reaching service-container subprocesses with a permissive approval path. Container execution does not itself establish compromise of the physical host.
The danger is not that a model is able to propose Python; that can be a legitimate coding-agent function. The trust boundary fails when the DB-GPT CodeAction runner treats the fact that it is already inside Docker as a reason to execute generated code locally rather than inside a separate confined executor. In that configuration, the action inherits the DB-GPT service's network reach, environment and filesystem mounts. The advisory describes an exploitable code path, but its broad label of remote execution still depends on a reachable workflow that triggers CodeAction. No physical host escape or field victim was demonstrated, and an application's own container is not a security boundary against code run inside that same application.
The misleading safety signal is the mere presence of Docker. Under the reported conditional, detecting that DB-GPT itself runs inside a container selects native subprocess execution inside that same application environment, not a fresh isolated sandbox. A model-generated CodeAction can therefore inherit the service's mounts and credentials. This is separate from DB-GPT's unsafe skill-template rendering and remote model-code loading: those are additional entry points, but none of the advisories establishes that they were chained in a deployed compromise.
Mechanism and trust boundary
- 01
A model or caller produces executable code through a DB-GPT CodeAction workflow.
- 02
The runner selects native subprocess execution when it detects the application is already containerized.
- 03
Generated code runs with the application's own credentials and mounts instead of an independently isolated execution identity.
Claims & evidence
CLM-DB07-021-OUTCOMECVE-2026-123018 reports LLM-generated code reaching service-container subprocesses with a permissive approval path. Container execution does not itself establish compromise of the physical host.supported
Basis: reported finding
- supportsAdvisory: DB-GPT CodeAction runs model-generated Python/shell in main application container instead of disposable sandboxprimary disclosure
GHSA-5h42-cm7h-7vh6; in_docker_container branch; CodeEngineer
CLM-DB07-021-MECHANISMThe DB-GPT CodeAction runner used the presence of a Docker container as a condition to execute generated Python or shell in the current application process environment instead of a disposable sandbox.supported
Basis: reported finding
- supportsAdvisory: DB-GPT CodeAction runs model-generated Python/shell in main application container instead of disposable sandboxprimary disclosure
GHSA-5h42-cm7h-7vh6; in_docker_container branch; CodeEngineer
Implications
Always isolate action execution from the orchestrator, require approval for meaningful effects and test actual namespace and secret exposure.
Unknowns and contradictions
- Container-service context, not proven physical-host escape; no patched version reported or real attack.
Sources and citation
Material revision history
- Nov 7, 2026 · Published version · first publication · revision 227