Skip to content
CriticalVulnerability

CVE-2024-10831: eosphoros-ai/db-gpt absolute path traversal in file upload endpoint

Identifier
CVE-2024-10831
Published
Record updated
View JSON
Affected
  • dbgpt <= 0.6.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

In eosphoros-ai/db-gpt version 0.6.0, the file upload endpoint is vulnerable to absolute path traversal. Because the `file_key` and `doc_file.filename` parameters are user-controllable, an attacker can build paths outside the intended directory and upload arbitrary files to arbitrary locations on the server, potentially overwriting essential system files such as SSH keys.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.