CVE-2026-51863: DB-GPT directory traversal in use_example_file

CVE-2026-51863 · Severity: info · Published 2026-10-29

DB-GPT is an AI database assistant platform. A directory traversal vulnerability in the example file upload API allows authenticated users to write files outside the intended storage boundary, potentially enabling arbitrary file write attacks. An attacker could overwrite critical files or place backdoors on the system if the example files dictionary is compromised through configuration injection or database manipulation.

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

Quick answers

Is CVE-2026-51863 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51863 being exploited in the wild.
How severe is CVE-2026-51863?
Informational severity, published 29 October 2026.
Which products and versions are affected?
Eosphoros-Ai DB-GPT 0.7.5, 0.8.0.
Is there a fix for CVE-2026-51863?
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-51863 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-51863?
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 use_example_file endpoint in examples_api.py validates the example_id against a whitelist but fails to validate the example["name"] field for path traversal sequences like "..", allowing attackers to construct paths that escape the user's upload directory. The vulnerability requires either authentication or control over the EXAMPLE_FILES dictionary through configuration injection or database manipulation. A successful exploit enables arbitrary file write to any location the application process has write permissions.

Affected products

  • eosphoros-ai DB-GPT 0.7.5, 0.8.0

Timeline

  • 2026-10-29: disclosed
  • 2026-04-20: other: Original bug report filed

References

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