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.getprompt of the file packages/dbgpt-core/src/dbgpt/agent/skill/claudeskill/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.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
eosphoros-ai DB-GPTto a version that resolves this vulnerability.Fixed in 0.8.2Patch a9e7a3c026d114fcfb4ffe3eaf78851a636ded16
Event History
Frequently Asked Questions
Which versions should be considered affected?
DB-GPT versions up to and including 0.8.1 are affected. Upgrading to version 0.8.2 fixes the issue; the referenced patch identifier is a9e7a3c026d114fcfb4ffe3eaf78851a636ded16.
Can this be exploited remotely, and is exploit code available?
The attack may be initiated remotely. A public exploit has been disclosed, so affected deployments should be prioritized for upgrade.
What can be done if an immediate upgrade is not possible?
The provided information does not identify a configuration workaround or mitigation. Upgrade the affected component to 0.8.2 as the documented remediation.