CVE-2026-51864: DB-GPT directory traversal in python_file_upload

CVE-2026-51864 · Severity: info · Published 2026-09-30

DB-GPT is an open-source AI database assistant that allows uploading Python files for data processing and analysis. A directory traversal vulnerability in the file upload endpoint allows attackers to write arbitrary files outside the intended workspace, potentially overwriting system files or injecting malicious code into the application.

Technologies: Eosphoros-Ai DB-GPT. Vendors: Eosphoros-Ai.

Quick answers

Is CVE-2026-51864 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51864 being exploited in the wild.
How severe is CVE-2026-51864?
Informational severity, published 30 September 2026.
Which products and versions are affected?
Eosphoros-Ai DB-GPT 0.7.5, 0.8.0.
Is there a fix for CVE-2026-51864?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-51864 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-51864?
Check whether you run Eosphoros-Ai DB-GPT at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The python_file_upload endpoint in python_upload_api.py fails to properly validate file paths, allowing attackers to use path traversal sequences (e.g., ../) to write files outside the intended upload directory. An unauthenticated remote attacker can exploit this via a crafted upload request to achieve arbitrary file write on the server, potentially leading to code execution or data compromise depending on file permissions and application logic.

Affected products

  • eosphoros-ai DB-GPT 0.7.5, 0.8.0

Timeline

  • 2026-09-30: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.