cve.bz

CVE-2024-10831

9.1 criticalEPSS 0.8%

Critical (9.1) in dbgpt db-gpt. EPSS 0.8% chance of exploitation in the next 30 days.

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.

Severity

CVSS 3.0

9.1 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.8% chance of exploitation in the next 30 days; higher than 57% of CVEs (scores of 2026-10-31)
CWE
CWE-36
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hhw5-29f6-hf4xPyPIdbgpt<=0.6.0no fix published
PYSEC-2026-323PyPIdbgpt<=0.6.0no fix published

References

Check your stackJSON