CVE-2026-123020 · AI agents & MCP
NO FIX YET · SEE WHAT TO DO
DB-GPT, an open-source AI agent and database framework, renders skill prompts through a Jinja2 template without neutralizing special template syntax in FileBasedSkill.get_prompt. A remote attacker who can supply input to that path may be able to inject template expressions, and the exploit has been disclosed publicly.
first public Nov 5, 2026 · 1 source
Check it with your coding agent
It checks your repository and tells you if you’re affected, with the fix.
Teams running DB-GPT up to 0.8.1 where the agent skill prompt path accepts input an outside party can influence. The sources name the file and function but do not state which deployment settings make it reachable, so unknown whether a default install is exposed. Teams on 0.8.2 or later, or not running DB-GPT, can skip it.
Not affected if version-0.8.2-or-later
Who cares ai-agents, db-gpt, jinja2, python
0.8.1 are listed as affected.packages/dbgpt-core/src/dbgpt/agent/skill/claude_skill/__init__.py and whether FileBasedSkill.get_prompt takes input from users or external files.0.8.2, per the NVD 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.
This page as .md · .json · 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.