LiveActive security incident?Get immediate response
CVE Record

CVE-2026-80104: DB-GPT 0.8.0 Path Traversal Arbitrary File Write via Skill Upload Filename

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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

DB-GPT 0.8.0 contains an unauthenticated skill-upload flaw that can write attacker-controlled files outside the intended folder. An exposed server could be altered, disrupted, or potentially taken over when a malicious Python file is imported. This warrants urgent investigation.

Executive priority

Treat exposed DB-GPT 0.8.0 systems as an immediate remediation priority. Restrict access now, investigate for unauthorized file changes, and obtain vendor-confirmed upgrade guidance. Potential server compromise justifies incident-response involvement when suspicious uploads or module modifications are found.

Technical view

The upload handler joins its destination with the untrusted multipart filename without canonicalization or containment checks. Absolute paths and parent references can escape the upload directory. The cited authentication helper assigns an admin role without requiring credentials. Writable application modules could be created or replaced, enabling code execution upon import.

Likely exposure

Exposure is supported for DB-GPT 0.8.0 where the skill-upload API is reachable. Internet-facing deployments are at greatest risk, but internal access also matters because no account is reportedly required. Other versions are not established as affected by the supplied evidence.

Exploitation context

The CVSS 3.1 score is 9.8 because exploitation is remote, low-complexity, unauthenticated, and requires no user interaction. Successful abuse could affect confidentiality, integrity, and availability. The supplied record is not in KEV, and no source provided confirms active exploitation.

Researcher notes

The evidence directly identifies unsafe path construction and permissive authentication behavior in version 0.8.0. Code execution is a consequence of writing into an imported module path, not necessarily immediate during upload. The supplied sources do not explicitly confirm that v0.8.1 fixes the issue, so remediation status remains incomplete.

Mitigation direction

  • Identify and isolate every DB-GPT 0.8.0 deployment immediately.
  • Restrict the skill-upload route to trusted administrative networks or disable it temporarily.
  • Run DB-GPT with minimal filesystem permissions to limit writable destinations.
  • Check vendor guidance and v0.8.1 release notes before selecting an upgrade target.
  • Preserve relevant logs and suspicious files for incident investigation.

Validation and detection

  • Confirm the installed DB-GPT and dbgpt-app versions on every deployment.
  • Determine whether the skill-upload API is reachable without valid credentials.
  • Review upload and proxy logs for unusual skill-upload requests or filenames.
  • Inspect writable application directories for unexpected or recently changed Python modules.
  • Verify compensating access controls block unauthenticated and untrusted network access.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-80104 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
1ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9VulnCheck
9.3CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N——VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

9.3Critical
CVSS 4.0 vector shape for CVE-2026-80104Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
eosphoros-aiDB-GPT0.8.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.