Skip to main content

DB-GPT CVE-2026-73034

| EUVDEUVD-2026-56925 CRITICAL
Path Traversal (CWE-22)
2026-08-11 disclosure@vulncheck.com GHSA-v6p5-5pcg-cr3f
9.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach DB-GPT upload endpoint
  2. Delivery
    Craft multipart upload with traversal user_id header
  3. Exploit
    Escape python_uploads via ../ path
  4. Execution
    Write file to cron/startup/agent path
  5. Persist
    Host executes planted file
  6. Impact
    Remote code execution as service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The DB-GPT Python file-upload endpoint (python_upload_api) must be reachable by the attacker and, in v0.8.1, accepts a client-supplied user_id HTTP header that is used unsanitized as an upload path component. The concrete prerequisite is the ability to send a multipart upload request with a user_id header containing traversal sequences (../ or path separators); no credentials, tokens, or user interaction are needed (PR:N/UI:N). To convert the arbitrary write into code execution, the attacker must target a path the host will later execute (Python startup hook, cron directory, or agent script) and the service account must have write permission to that path - this write-target dependency and the network-exposure of the endpoint are the main practical limiters, along with DB-GPT's relatively narrow deployment base.

Impact

This is a genuine high-priority issue, not a high-CVSS-but-low-impact paper cut. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N with VC:H/VI:H/VA:H, score 9.3) aligns fully with the description: network-reachable, low complexity, no authentication, no user interaction, and full confidentiality/integrity/availability impact via the RCE that arbitrary file write enables. The vulnerability was reported by VulnCheck (disclosure@vulncheck.com) with a dedicated advisory, which raises confidence in its reality. No CISA KEV listing and no EPSS score were provided, and no public exploit is identified at time of analysis - so there is no evidence of active mass exploitation yet, but the combination of unauthenticated write-to-RCE and a public patch commit that clearly reveals the vulnerable code path makes reverse-engineering into a working exploit straightforward; any organization running DB-GPT v0.8.1 on a network-accessible interface should treat this as urgent and patch immediately rather than waiting for exploitation to be observed. The primary limiting factor is deployment footprint (DB-GPT is a niche AI framework, not ubiquitous enterprise software), which likely means targeted rather than internet-wide exploitation.

Exploit ScenarioDerived

An attacker who can reach the DB-GPT HTTP interface sends a crafted multipart file-upload request to the Python upload endpoint with a user_id header like '../../../../etc/cron.d' (or a path to a Python startup hook or agent script directory) and an attacker-controlled file body. The malicious file lands outside python_uploads in a location that is later executed, yielding remote code execution as the DB-GPT service account. No authentication or user interaction is required (AV:N/AC:L/PR:N/UI:N), so exploitation is a single unauthenticated request; no public POC is identified yet, but the patch commit exposes the exact injection point.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 public PoC No patch listed yet 1.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Unauthenticated arbitrary file write in DB-GPT v0.8.1 lets remote attackers achieve remote code execution by smuggling directory-traversal sequences (../) through the user_id HTTP header of the Python file-upload endpoint. Because the header value is used unsanitized as a path component of the upload directory, an attacker can escape the intended python_uploads directory and drop attacker-controlled files into code-execution-sensitive locations such as Python startup hooks, cron directories, or agent scripts. Rated CVSS 4.0 9.3 (Critical); no public exploit identified at time of analysis, though a VulnCheck advisory and an upstream fix commit confirm the flaw.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply commit e0c741bd2b5e521b128cffb3f68982dde3f7b359 (https://github.com/eosphoros-ai/DB-GPT/commit/e0c741bd2b5e521b128cffb3f68982dde3f7b359) or upgrade to the first tagged release that includes it once published, and consult the VulnCheck advisory (https://www.vulncheck.com/advisories/db-gpt-path-traversal-arbitrary-file-write-via-user-id-header). Until a packaged release is deployed, compensating controls include: block or restrict network access to the Python file-upload endpoint (e.g. at a reverse proxy or WAF) and reject any request whose user_id header contains path separators or dot-dot sequences (allow only [A-Za-z0-9_-]) - trade-off: rejects legitimate non-alphanumeric user identifiers; run the DB-GPT process as a low-privilege user with a read-only filesystem for sensitive directories (cron, startup hooks, agent script paths) to blunt the file-write-to-RCE step - trade-off: may require configuration changes to writable working directories; and place authentication in front of the endpoint if it is currently exposed unauthenticated.

Affected VersionsENISA

db-gpt 0 ≤0.8.1

Affected Packages

euvd db_gpt no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DB-GPT is an open-source AI application/agent framework (eosphoros-ai/DB-GPT) built on Python/FastAPI. The vulnerable code is packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/python_upload_api.py, where the multipart Python file-upload handler derived the per-user upload path via os.path.join(base_dir, 'python_uploads', user_id) using a user_id taken directly from the request (an attacker-controllable HTTP header). This is a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal): os.path.join with an unvalidated component containing '../' resolves outside the intended root. The fix introduces a strict allowlist regex (^[A-Za-z0-9_\-]+$) for user_id, a _resolve_upload_dir helper that canonicalizes with Path.resolve() and enforces relative_to() containment against <base_dir>/python_uploads, plus a post-creation TOCTOU/symlink re-check (is_relative_to) before writing.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Unauthenticated network request with a single crafted header (AV:N/AC:L/PR:N/UI:N); arbitrary file write to executable paths yields RCE with full C/I/A impact, scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

DB-GPT v0.8.1 contains an unauthenticated path traversal vulnerability that allows remote attackers to write arbitrary files to any location on the server by injecting directory traversal sequences into the user_id HTTP header of the Python file-upload endpoint. Attackers can send a crafted multipart upload request with a traversal-poisoned user_id header to escape the intended upload directory and write attacker-controlled content to locations such as Python startup hooks, cron directories, or agent scripts, resulting in remote code execution.

Latest POC

1 public PoC link from nuclei

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

DB-GPT v0.8.1 contains a critical vulnerability allowing unauthenticated attackers to execute arbitrary code on affected systems, exposing organizations to immediate risk of complete deployment compromise. Any organization running this AI platform version can be breached with a single malicious request, enabling attackers to deploy malware, exfiltrate sensitive data, disrupt services, or establish persistent access without any authentication barrier.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to DB-GPT v0.8.1 instances to whitelisted authorized systems and users only via firewall rules; (2) Deploy WAF rules blocking the directory-traversal payload pattern (../) in HTTP headers, specifically the user_id header; (3) Enable comprehensive request logging and monitoring on the file-upload endpoint with alerting for suspicious user_id header values; (4) Isolate affected systems from critical infrastructure, sensitive data repositories, and elevated-privilege systems pending patch availability.

Threat Model

4 threats: Tampering, Elevation of Privilege, Information Disclosure and 1 more

4-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
1.3%
Top 31% exploitable
Prevalence
Medium
popular open-source AI/agent framework, limited production deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 1.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy