Case · DiggingBeagle record

DB-GPT executed untrusted uploaded SKILL.md templates before model invocation

DB-GPT rendered uploaded SKILL.md instructions as unrestricted Jinja2 template code while building a model prompt. CVE-2026-123020 describes service-context execution via an upload/chat path with weak default authentication.

Public disclosure: Nov 5, 2026

Scope

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
patch available
AI role
AGAINST AI
Basis and provenance

research demonstration; demonstrated. The cited primary disclosure supports the specific sequence and boundaries described here: A caller uploads or supplies a SKILL.md artifact accepted by the DB-GPT skill service. 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.

At a glance

Mechanism and trust boundary

  1. 01

    A caller uploads or supplies a SKILL.md artifact accepted by the DB-GPT skill service.

  2. 02

    The prompt builder interprets that untrusted text as a Jinja2 template and evaluates expressions with access to Python objects.

  3. 03

    Code executes in the DB-GPT application context before the eventual prompt is presented to any model.

Claims & evidence

CLM-DB07-019-OUTCOMECVE-2026-123020 describes service-context execution via an upload/chat path with weak default authentication. DB-GPT 0.8.2 is identified as the fix; the advisory reports a controlled proof rather than a known breach.supported

Basis: reported finding

Link to claim
CLM-DB07-019-MECHANISMDB-GPT rendered uploaded SKILL.md instructions as unrestricted Jinja2 template code while building a model prompt. The malicious template could access Python objects in the application before the LLM received the text.supported

Basis: reported finding

Link to claim
CLM-ENR-DB07-019-JINJA-FIXED-VERSIONThe DB-GPT skill-template advisory identifies version 0.8.2 as the correction for pre-model Jinja template execution; the demonstrated code path executes while constructing the prompt, not because the model follows the SKILL.md instructions.supported

Basis: reported finding

Link to claim

Implications

Keep untrusted skill text literal; use sandboxed templating with explicit variable restrictions and a meaningful upload permission boundary.

Unknowns and contradictions

  • Researcher proof with unreviewed GHSA, no known deployment breach; not conventional model prompt injection.

Sources and citation

Material revision history

  1. Nov 7, 2026 · Published version · first publication · revision 227