CVE-2026-51863

Unrestricted File Write via Directory Traversal in DB‑GPT

Published Oct 29, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
DB-GPT v0.7.5 and 0.8.0 contains directory traversal in use_example_file (packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/examples_api.py:129). A remote attacker can use the validated exploitation path to write files outside the intended workspace or storage boundary.

Analysis

AI-generated

Technical impact

The flaw in DB‑GPT is a directory traversal vulnerability located in the use_example_file endpoint of versions 0.7.5 and 0.8.0. It permits an unauthenticated or authenticated attacker to write or overwrite files outside the intended workspace or storage directories, which can result in arbitrary code execution or modification of application data. The weakness corresponds to the common path‑traversal category of weaknesses such as CWE‑22.

Affected Systems

Products impacted are DB‑GPT version 0.7.5 and 0.8.0. No vendor name is supplied; the software is hosted in the public repository and the issue affects all installations using the unpatched code paths.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity, while the EPSS score of less than 1 % suggests that widespread active exploitation is currently unlikely. The vulnerability is not listed in the CISA KEV catalog. Nonetheless, an attacker who successfully follows the validated exploitation path can create or replace files anywhere within the application's accessible filesystem, potentially leading to remote code execution or other severe compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest released version of DB‑GPT, which contains the patch for the directory traversal flaw.
  • If an upgrade is not immediately possible, restrict the write permissions of the workspace by configuring filesystem ACLs so the application can write only to approved directories.
  • Disable or tightly restrict the use_example_file endpoint, for example by limiting access to authenticated users or removing the endpoint from production deployments.
  • Continuously monitor the application logs and the filesystem for unauthorized or unexpected file creations and modifications within the workspace or storage directories.

Generated by OpenCVE AI on November 2, 2026 at 21:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Unrestricted File Write via Directory Traversal in DB‑GPT
Type Values Removed Values Added
Title Directory Traversal Enables Arbitrary File Write in DB-GPT
Weaknesses CWE-23
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Eosphoros-ai
Eosphoros-ai db-gpt
Vendors & Products Eosphoros-ai
Eosphoros-ai db-gpt
Type Values Removed Values Added
Title Directory Traversal Enables Arbitrary File Write in DB-GPT
Weaknesses CWE-23
Type Values Removed Values Added
Description DB-GPT v0.7.5 and 0.8.0 contains directory traversal in use_example_file (packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/examples_api.py:129). A remote attacker can use the validated exploitation path to write files outside the intended workspace or storage boundary.
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 2, 2026, 4:25 PM
Reserved
Jun 8, 2026, 12:00 AM
Status
Deferred
Published
Oct 29, 2026, 6:17 PM
Modified
Nov 2, 2026, 5:17 PM