Skip to main content

DB-GPT CVE-2026-51862

| EUVDEUVD-2026-90418 CRITICAL
Path Traversal (CWE-22)
2026-09-30 mitre GHSA-pjc5-qj93-h7m2
9.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Reach DB-GPT skill_upload endpoint
  2. Delivery
    Craft upload with ../ traversal path
  3. Exploit
    Write file outside workspace boundary
  4. Execution
    Overwrite config or executable asset
  5. Impact
    Achieve code execution / system compromise

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

Exploitation requires network access to the DB-GPT skill_upload API endpoint (agentic_data_api) in version 0.8.0 and the ability to submit an upload whose destination path is attacker-controlled; the traversal occurs because the filename/path is not sanitized before being joined to the storage directory. The supplied CVSS vector marks PR:N (no authentication), but whether the upload endpoint is exposed without authentication depends on how the DB-GPT instance is deployed and network-exposed - this is the primary real-world limiting factor and should be confirmed per deployment. No special non-default feature toggle is indicated by the description; the bug is in the upload handler's path handling itself.

Impact

Signals are moderately conflicting and should be read together. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, base 9.1) describes a remote, low-complexity, unauthenticated flaw with high confidentiality and integrity impact. However, the underlying weakness is a directory-traversal file-WRITE in the skill_upload endpoint, which structurally produces integrity (and potentially availability) impact rather than confidentiality - the C:H assignment is questionable and likely inflates the base score; verify impact semantics with the researcher/vendor. Counterbalancing the high CVSS, EPSS is low at 0.47% (38th percentile), indicating low modeled near-term mass-exploitation probability, and the CVE is NOT in CISA KEV, so there is no confirmed active exploitation. A referenced public gist (Ro1ME) appears to document the exploitation path, so publicly available exploit material likely exists, but POC existence is not the same as active exploitation. Net: this is a genuinely serious bug for anyone running DB-GPT 0.8.0 with the upload endpoint reachable (arbitrary file write can escalate to code execution), but the real-world priority is tempered by the product's limited production footprint and low EPSS - treat it as high-priority for the specific population running DB-GPT, not an internet-wide emergency.

Exploit ScenarioDerived

An attacker who can reach the DB-GPT skill_upload API endpoint submits an upload whose path/filename contains traversal sequences (e.g. ../../), causing a file to be written outside the intended workspace or storage directory. By overwriting a configuration file, startup script, or web-served asset, the attacker can pivot from arbitrary file write to remote code execution or service compromise. A public gist referenced in the advisory appears to document the exploitation path, lowering the bar for reproduction.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 07, 2026

Path traversal in the skill_upload API handler of DB-GPT 0.8.0 (packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py:40) lets a remote attacker supply a crafted upload path and write files outside the intended workspace or storage directory. The provider-assigned CVSS is 9.1 and the supplied vector indicates no authentication prerequisite (PR:N), but our independent assessment scores it AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L - integrity is the dominant impact, with limited availability effects and no confirmed confidentiality loss, and the practical attack surface depends heavily on whether the skill_upload endpoint is reachable without authentication in a given deployment. Exploitation status is unconfirmed: the CVE is not in CISA KEV, no public exploit code has been confirmed (EPSS 0.47%, 38th percentile), and no vendor-released patch was identified at time of analysis.

RemediationAI

No vendor-released patch was identified at time of analysis, so remediation must start with containment rather than upgrade; monitor https://github.com/eosphoros-ai/DB-GPT/issues/3026 and the NVD entry https://nvd.nist.gov/vuln/detail/CVE-2026-51862 for an upstream fix and apply it as soon as a tagged release is published, since the correct fix is to canonicalize the upload destination and reject any resolved path that falls outside the storage root. Until then, the highest-value control is to remove network exposure: bind the DB-GPT openapi service to localhost or an internal interface and place it behind an authenticating reverse proxy so the skill_upload endpoint cannot be reached unauthenticated - note that this changes client access patterns and requires proxy credential management. If the endpoint must remain reachable, restrict it at the proxy/WAF layer to trusted source IPs and reject requests whose filenames or multipart parameters contain traversal sequences or absolute paths, accepting that encoding variants can bypass naive filters. Run DB-GPT as a low-privilege service account whose write permissions are limited to a single dedicated upload directory on a filesystem mounted with noexec and nosuid, and keep the rest of the application tree and configuration files read-only to that account; this does not prevent the write but sharply limits what the planted file can influence. Because the primitive is arbitrary file write, consider file-integrity monitoring on the application tree and alerting on any write landing outside the expected skills directory, and treat any pre-patch DB-GPT 0.8.0 instance as potentially compromised if the endpoint was internet-exposed.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e. path traversal). The affected code lives in the DB-GPT application layer at packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py line 40, inside the skill_upload endpoint that handles agentic skill uploads. The handler appears to take a client-controlled filename or relative path and join it to a base storage directory without canonicalizing the result or verifying that the resolved path remains inside that directory; traversal sequences such as ../ therefore escape the storage boundary and let the attacker choose the write destination. This is the classic Python failure mode of passing attacker input into path construction (e.g. os.path.join) without os.path.realpath/normpath containment validation. The CPE field in the supplied intelligence is a null placeholder (cpe:2.3:a:n/a:n/a), so the affected product is identified only by the vendor project eosphoros-ai/DB-GPT and by the EUVD entry (EUVD-2026-90418, affected versions listed as n/a) rather than by a machine-readable CPE - version scoping to 0.8.0 comes from the description and upstream issue. Because the endpoint is an HTTP API, the traversal is network-reachable wherever the DB-GPT service is exposed, making exposure configuration rather than the bug itself the deciding factor. The independent assessment deliberately diverges from the 9.1 provider score: it treats confidentiality as unaffected and notes only low availability impact, which is consistent with an arbitrary-write primitive rather than a read/execution primitive.

Know when the next one hits your stack

  • 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 (mitre) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.2 HIGH

Directory-traversal file write is a network, low-complexity primitive (AV:N/AC:L); impact is integrity (I:H) with possible DoS via overwrite (A:L) and no direct read, so C:N - unlike the input's C:H.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Oct 07, 2026 - 16:22 NVD
9.1 (CRITICAL)
CVE Published
Sep 30, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 30, 2026 - 00:00 cve.org
CRITICAL 9.1

DescriptionCVE.org

DB-GPT 0.8.0 contains directory traversal in skill_upload (packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/agentic_data_api.py:40). A remote attacker can use the validated exploitation path to write files outside the intended workspace or storage boundary.

Executive ViewAI

Why It Matters

Teams running DB-GPT 0.8.0 are exposed to a critical unauthenticated path traversal flaw in the skill_upload API handler that allows a remote attacker to write files outside the application's intended workspace or storage directory. The dominant risk is integrity: unauthorized file placement could corrupt application logic, configuration, or stored artifacts, and the attack surface widens sharply for any instance whose skill_upload endpoint is reachable from untrusted networks. No vendor patch is currently available and no public exploit has been identified at time of analysis, so leadership attention should focus on confirming exposure and restricting reachability before an exploit emerges.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable or block the skill_upload endpoint if not required; require authentication and restrict source networks at a reverse proxy or WAF in front of DB-GPT; apply virtual patching rules that reject path traversal sequences on upload paths; run the service as a non-privileged account with write access limited to its designated storage directory; enable file integrity monitoring on application, configuration, and storage paths; and monitor vendor channels for a fixed release.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Low
popular open-source AI/LLM app framework, limited production deployment footprint
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.5%
Patch available No
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
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.

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