<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>DB-GPT - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/db-gpt/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 25 Aug 2026 22:49:28 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/db-gpt/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Unauthenticated Remote Code Execution in DB-GPT via Path Traversal</title><link>https://feed.craftedsignal.io/briefs/2026-08-dbgpt-path-traversal/</link><pubDate>Tue, 25 Aug 2026 22:49:28 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-dbgpt-path-traversal/</guid><description>An unauthenticated path traversal vulnerability in DB-GPT allows remote attackers to write arbitrary files and achieve remote code execution by uploading malicious Python modules to the application server.</description><content:encoded><![CDATA[<p>DB-GPT is susceptible to a critical path traversal vulnerability (CVE-2026-80104) arising from improper validation of multipart filenames during skill uploads. The vulnerable function, <code>skill_upload</code> located in <code>packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py</code>, constructs file paths by concatenating a base directory with the user-provided filename without performing canonicalization or restriction to the upload directory.</p>
<p>Crucially, an authentication bypass in <code>dbgpt_serve/utils/auth.py</code> allows unauthenticated users to access this API endpoint. By submitting a crafted filename containing parent directory references (e.g., <code>../../../</code>) or absolute paths, an attacker can write arbitrary files to the server's filesystem. An attacker can leverage this primitive to drop a malicious Python module into an application directory. Given the application's structure, the server process will execute the attacker-controlled code upon the subsequent import of the corrupted module. This vulnerability allows for full system compromise from an unauthenticated remote position.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies the target DB-GPT instance reachable via the network.</li>
<li>Attacker crafts a multipart HTTP request targeting the <code>skill_upload</code> API endpoint.</li>
<li>Attacker sets the multipart <code>filename</code> attribute to a path-traversal string, such as <code>../../../path/to/malicious_module.py</code>.</li>
<li>Attacker includes the payload (Python code) in the request body to be written to the target location.</li>
<li>The server process, lacking filename validation, writes the file to the malicious destination on the filesystem.</li>
<li>The application performs a subsequent operation or import that loads the newly created <code>.py</code> file.</li>
<li>The Python interpreter executes the attacker-controlled script within the context of the server process.</li>
<li>Attacker gains persistent remote code execution and potential full system compromise.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-80104 leads to unauthenticated Remote Code Execution (RCE) on the DB-GPT server. This allows an attacker to execute arbitrary system commands, steal sensitive data, or install persistent backdoors. Given that DB-GPT often handles AI/ML configurations and model artifacts, the impact includes potential exfiltration of proprietary datasets and credentials.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately restrict network access to the DB-GPT API endpoint to trusted internal networks only.</li>
<li>Update DB-GPT to the patched version that implements filename canonicalization and validates that the destination path resides within the intended upload directory.</li>
<li>Audit the <code>packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py</code> module for improper path concatenation practices.</li>
<li>Deploy webserver logs monitoring to detect POST requests to the <code>skill_upload</code> endpoint that contain directory traversal patterns (e.g., <code>..%2f</code> or <code>../</code>).</li>
<li>Implement stricter authentication checks in <code>dbgpt_serve/utils/auth.py</code> to ensure only verified users can access administrative API endpoints.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>vulnerability</category><category>rce</category><category>path-traversal</category><category>webserver</category></item></channel></rss>