CVE-2026-123020
eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulDBFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulDBFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulDBAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| DB-GPT eosphoros-ai |
0.8.0 (affected) 0.8.1 (affected) 0.8.2 (unaffected) |
CNA: VulDB |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 5.3 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | CNA: VulDB |
| 3.1 / 6.3 medium |
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 | CNA: VulDB |
| 3.0 / 6.3 medium |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | CNA: VulDB |
| 2.0 / 7.5 high |
AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | CNA: VulDB |
Exploit evidence
References
- https://vuldb.com/vuln/431394CNA: VulDB · vdb-entry, technical-description
- https://vuldb.com/vuln/431394/ctiCNA: VulDB · signature, permissions-required
- https://vuldb.com/cve/CVE-2026-123020CNA: VulDB · third-party-advisory
- https://vuldb.com/submit/1033118CNA: VulDB · third-party-advisory
- https://github.com/eosphoros-ai/DB-GPT/issues/3291CNA: VulDB · issue-tracking
- https://github.com/eosphoros-ai/DB-GPT/pull/3111CNA: VulDB · issue-tracking, patch
- https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-skill-template-jinja2-ssti-rce.mdCNA: VulDB · exploit
- https://github.com/eosphoros-ai/DB-GPT/commit/a9e7a3c026d114fcfb4ffe3eaf78851a636ded16CNA: VulDB · patch
- https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.8.2CNA: VulDB · patch
- https://github.com/eosphoros-ai/DB-GPT/CNA: VulDB · product
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.