Skip to main content

DB-GPT CVE-2026-80104

| EUVDEUVD-2026-66108 CRITICAL
Path Traversal (CWE-22)
2026-08-25 VulnCheck GHSA-x75h-xjfp-qrh8
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 exposed skill_upload endpoint unauthenticated
  2. Delivery
    POST multipart with traversal filename ../../../app/evil.py
  3. Exploit
    Path join escapes upload directory
  4. Execution
    Write Python payload into import path
  5. Persist
    Module imported by server
  6. Impact
    Execute arbitrary code in process

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

No special conditions - remote unauthenticated exploitation against default configurations of DB-GPT 0.8.0, because get_user_from_headers grants the admin role even with no user_id header, making the skill_upload route reachable without credentials. The only real prerequisites are network reachability of the skill upload endpoint and that the server process has write permission to a directory on Python's import path (or can overwrite an already-imported module); code execution is triggered when that planted/overwritten module is next imported, so exploitation completes on the next import event rather than instantly. Limiting factors are minimal: it requires the vulnerable v0.8.0 endpoint to be exposed and the process to have write access to an importable location - filesystem permissions or a read-only package directory are the main practical constraints.

Impact

This is a genuine top-priority issue rather than a high-CVSS-but-low-real-risk finding. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, base 9.3) aligns tightly with the described mechanics: network-reachable, low complexity, no privileges, no user interaction, full confidentiality/integrity/availability loss on the vulnerable system - and unlike many inflated scores, the description independently confirms every one of those metrics (the auth bypass justifies PR:N, and a raw filename primitive justifies AC:L). EPSS was not supplied and it is not in CISA KEV, and no POC is referenced, so there is no evidence of active or widespread exploitation yet; however, the exploit path is simple enough that any operator running v0.8.0 should treat this as urgent and patch immediately rather than wait for exploitation signals. The main uncertainty is deployment scope: DB-GPT is a widely-starred but relatively young AI project, so real production exposure is likely limited, which argues for targeted rather than mass-scanning risk in the near term.

Exploit ScenarioDerived

An unauthenticated attacker sends a multipart POST to the skill upload endpoint with a filename like ../../../<app-package>/evil.py (or an absolute /path/evil.py) and an arbitrary Python payload as the body. The file lands outside the upload directory inside the application's import path, and when DB-GPT next imports that module - on the next request, task, or restart - the attacker's code runs in the server process. No POC is referenced, but the low attack complexity and absent authentication make reliable exploitation straightforward.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 25, 2026

Unauthenticated arbitrary file write in DB-GPT 0.8.0 lets remote attackers achieve remote code execution through the skill_upload endpoint, which builds an upload path by joining the user-controlled multipart filename to the upload directory without canonicalisation or containment checks. Because the route's only auth dependency (get_user_from_headers) returns an admin-role request even when no credentials are supplied, an attacker with no account can write a .py file such as ../../../tmp/x or /tmp/x anywhere the server process can write, then plant or overwrite a Python module that executes when next imported. No public exploit has been identified at time of analysis, and it is not listed in CISA KEV, but the flaw is trivially exploitable and fixed in v0.8.1.

RemediationAI

Vendor-released patch: upgrade to DB-GPT v0.8.1, whose changelog explicitly includes 'validate skill upload filenames (#3065)', 'constrain python upload filenames (#3064)', 'validate example file names (#3066)' and 'restrict personal skill script execution (#3071)' (https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.8.1). If you cannot upgrade immediately, place the application behind an authenticating reverse proxy and block or restrict access to the skill upload route (the /api/v1 agentic data upload endpoint), since the built-in get_user_from_headers dependency provides no real authentication - note this may break legitimate skill-upload workflows. As additional compensating controls, run the server process as an unprivileged user with a read-only application package directory so a traversal write cannot overwrite importable modules, and mount the upload directory noexec/on a separate filesystem; these limit but do not fully eliminate the arbitrary-write primitive. Track remediation via the VulnCheck advisory at https://www.vulncheck.com/advisories/db-gpt-0.8.0-path-traversal-arbitrary-file-write-via-skill-upload-filename.

Affected VersionsENISA

db-gpt 0.8.0 <0.8.1

Affected Packages

euvd db_gpt fix: 0.8.1

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 Python framework (eosphoros-ai/db-gpt, distributed via the dbgpt-app PyPI package) for building LLM/agent applications over databases. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal). In skill_upload within packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py, the destination is computed as upload_dir / file.filename using a path-join operator whose semantics discard the base directory when the right operand is absolute (e.g. /tmp/x) and otherwise honour parent-directory references (../). Nothing normalises the resolved path, verifies it stays under the upload root, or blocks a .py suffix, so the multipart filename directly controls where bytes land on disk. Combined with a broken authentication shim in dbgpt_serve/utils/auth.py that grants the admin role without a user_id header, the write primitive is reachable pre-auth and escalates to code execution via Python's import machinery.

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

Broken auth shim grants admin without credentials so PR:N; a raw filename write primitive is low-complexity (AC:L), network-reachable (AV:N), and yields full C/I/A via code execution in the server process.

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

Lifecycle Timeline

2
Patch available
Aug 25, 2026 - 22:04 EUVD
CVE Published
Aug 25, 2026 - 20:18 cve.org
CRITICAL 9.3

DescriptionCVE.org

DB-GPT builds the destination path for an uploaded skill from the multipart filename without constraining it to the upload directory. skill_upload in packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py takes file.filename as given and writes the request body to upload_dir / filename. A path composed with that operator discards the left operand when the right one is absolute and follows parent references otherwise, so a filename such as ../../../tmp/x or /tmp/x resolves outside the intended directory; nothing canonicalises the result, checks that it remains under the upload root, or prevents a .py suffix. The route's only dependency is get_user_from_headers in dbgpt_serve/utils/auth.py, which returns a request carrying the admin role whether or not a user_id header is supplied, so the endpoint is reachable without credentials. A remote attacker holding no account can therefore write attacker-controlled bytes to any path the server process can write, place a new Python module inside the application package or replace one the application already imports, and obtain code execution in the server process when that module is next imported.

Executive ViewAI

Why It Matters

DB-GPT 0.8.0 contains a critical unauthenticated remote code execution flaw allowing attackers to upload malicious Python files and execute arbitrary code without authentication. Organizations running this version face direct risk of server compromise and unauthorized access to database operations and data.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 49% exploitable
Prevalence
Low
young open-source AI/LLM framework, limited production deployment footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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 No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
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