Vulnerability · Published Nov 5, 2026 · Assigned by VulDB
CVE-2026-123020eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine
Medium 6.3
In plain English
A medium-severity security flaw in DB-GPT from eosphoros-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).
Official description
A security vulnerability has been detected in eosphoros-ai DB-GPT up to 0.8.1. The affected element is the function FileBasedSkill.get_prompt of the file packages/dbgpt-core/src/dbgpt/agent/skill/claude_skill/__init__.py of the component Jinja2 Template Handler. The manipulation leads to improper neutralization of special elements used in a template engine. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.8.2 is sufficient to fix this issue. The identifier of the patch is a9e7a3c026d114fcfb4ffe3eaf78851a636ded16. It is suggested to upgrade the affected component.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| eosphoros-ai | DB-GPT | 0.8.00.8.1 |
Weakness: CWE-1336, CWE-791 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-431394 | eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine vdb-entry, technical-description
- VDB-431394 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-123020 | CVE Analysis and Report third-party-advisory
- Submit #1033118 | eosphoros-ai DB-GPT 0.8.1 CWE-1336 Improper Neutralization of Special Elements Used in a T third-party-advisory
- https://github.com/eosphoros-ai/DB-GPT/issues/3291 issue-tracking
- https://github.com/eosphoros-ai/DB-GPT/pull/3111 issue-tracking, patch
- https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-skill-template-jinja2-ssti-rce.md exploit
- https://github.com/eosphoros-ai/DB-GPT/commit/a9e7a3c026d114fcfb4ffe3eaf78851a636ded16 patch
- https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.8.2 patch
- https://github.com/eosphoros-ai/DB-GPT/ product