CVE-2026-123020
published medium CVSS 4.0 · 5.3eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| eosphoros-ai | — | DB-GPT0.8.0 (affected) · 0.8.1 (affected) · 0.8.2 (unaffected) | Version-specific | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 6.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| eosphoros-ai | DB-GPT | 0.8.0 (affected)0.8.1 (affected)0.8.2 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
- CWE-791 Incomplete Filtering of Special Elements
References
10- https://github.com/eosphoros-ai/DB-GPT/
- https://github.com/eosphoros-ai/DB-GPT/commit/a9e7a3c026d114fcfb4ffe3eaf78851a636ded16
- https://github.com/eosphoros-ai/DB-GPT/issues/3291
- https://github.com/eosphoros-ai/DB-GPT/pull/3111
- https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.8.2
- https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-skill-template-jinja2-ssti-rce.md
- CVE-2026-123020 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-123020
- Submit #1033118 | eosphoros-ai DB-GPT 0.8.1 CWE-1336 Improper Neutralization of Special Elements Used in a T https://vuldb.com/submit/1033118
- VDB-431394 | eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine https://vuldb.com/vuln/431394
- VDB-431394 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/431394/cti
Provider assertions
2VulDB · cna
eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7b948233fc852128aa0d608044d8f43e3ac329f09e973ba9aa8f528c92143159
- Ingested
- 07 Nov 2026, 23:40:33 UTC
- Source record
- Official CVE record