{"id":"CVE-2026-123020","state":"PUBLISHED","title":"eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine","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.","publishedAt":"2026-11-05T12:45:21.513Z","updatedAt":"2026-11-05T20:44:10.483Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["eosphoros-ai DB-GPT"],"affected":[{"vendor":"eosphoros-ai","product":"DB-GPT","versions":[{"version":"0.8.0","status":"affected"},{"version":"0.8.1","status":"affected"},{"version":"0.8.2","status":"unaffected"}],"cpes":["cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:*"],"modules":["Jinja2 Template Handler"]}],"references":["https://vuldb.com/vuln/431394","https://vuldb.com/vuln/431394/cti","https://vuldb.com/cve/CVE-2026-123020","https://vuldb.com/submit/1033118","https://github.com/eosphoros-ai/DB-GPT/issues/3291","https://github.com/eosphoros-ai/DB-GPT/pull/3111","https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-skill-template-jinja2-ssti-rce.md","https://github.com/eosphoros-ai/DB-GPT/commit/a9e7a3c026d114fcfb4ffe3eaf78851a636ded16","https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.8.2","https://github.com/eosphoros-ai/DB-GPT/"],"weaknesses":["CWE-1336","CWE-791"],"ingestedAt":"2026-11-05T20:52:04.816Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123020.json","commit":"3fd129c41c6dc37afdbcd9ef81b914cd9da57ba9","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123020","state":"PUBLISHED","datePublished":"2026-11-05T12:45:21.513Z","dateUpdated":"2026-11-05T20:44:10.483Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-11-05T06:17:58.263Z"},"containers":{"cna":{"title":"eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"eosphoros-ai","product":"DB-GPT","versions":[{"version":"0.8.0","status":"affected"},{"version":"0.8.1","status":"affected"},{"version":"0.8.2","status":"unaffected"}],"cpes":["cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:*"],"modules":["Jinja2 Template Handler"]}],"references":[{"url":"https://vuldb.com/vuln/431394","name":"VDB-431394 | eosphoros-ai DB-GPT Jinja2 Template __init__.py FileBasedSkill.get_prompt special elements in template engine","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/431394/cti","name":"VDB-431394 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-123020","name":"CVE-2026-123020 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/1033118","name":"Submit #1033118 | eosphoros-ai DB-GPT 0.8.1 CWE-1336 Improper Neutralization of Special Elements Used in a T","tags":["third-party-advisory"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/issues/3291","tags":["issue-tracking"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/pull/3111","tags":["issue-tracking","patch"]},{"url":"https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dbgpt/dbgpt-skill-template-jinja2-ssti-rce.md","tags":["exploit"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/commit/a9e7a3c026d114fcfb4ffe3eaf78851a636ded16","tags":["patch"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.8.2","tags":["patch"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":6.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":6.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":7.5,"vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","type":"CWE","lang":"en","description":"Improper Neutralization of Special Elements Used in a Template Engine"}]},{"descriptions":[{"cweId":"CWE-791","type":"CWE","lang":"en","description":"Incomplete Filtering of Special Elements"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-11-05T12:45:21.513Z"},"timeline":[{"time":"2026-11-05T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-11-05T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-11-05T07:23:31.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Ybyu (VulDB User)","type":"reporter"}],"tags":["x_open-source"],"x_generator":["VulDB PVTS v202611"]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/eosphoros-ai/DB-GPT/issues/3291","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-05T20:43:37.671018Z","id":"CVE-2026-123020","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-05T20:44:10.483Z"}}]}}}