# CVE-2026-123020: eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-11-05T12:45:21.513Z
- Modified: 2026-11-05T21:18:45.510Z
- Weaknesses: CWE-791, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- eosphoros-ai DB-GPT: 0.8.0; 0.8.1 (not affected: 0.8.2)

## Every score

- VulDB: CVSS: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`
- VulDB: CVSS: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`
- VulDB: CVSS: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`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/eosphoros-ai/DB-GPT/issues/3291> (exploit, issue-tracking)
- <https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-skill-template-jinja2-ssti-rce.md> (exploit)
- <https://vuldb.com/vuln/431394> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/431394/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-123020> (third-party-advisory)
- <https://vuldb.com/submit/1033118> (third-party-advisory)
- <https://github.com/eosphoros-ai/DB-GPT/pull/3111> (issue-tracking, patch)
- <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)

## Sources

- CVE List: [CVE-2026-123020](https://www.cve.org/CVERecord?id=CVE-2026-123020), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-123020](https://nvd.nist.gov/vuln/detail/CVE-2026-123020), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-123020 · Whole record: https://cve.day/CVE-2026-123020.json · Rebuilt by cve.day 2026-11-25T22:59:49.102Z
