CVE-2024-10831

CVE-2024-10831 is a critical-severity vulnerability in Dbgpt Db-gpt with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-36.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-10831?
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.
How severe is CVE-2024-10831?
CVE-2024-10831 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability high.
Is CVE-2024-10831 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (51st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-10831?
CVE-2024-10831 affects Dbgpt Db-gpt. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-10831?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2024-10831 have an EU (EUVD) identifier?
Yes. CVE-2024-10831 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-7081.
When was CVE-2024-10831 published?
CVE-2024-10831 was published on 2025-03-20 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Dbgpt Db-gpt

All CVEs affecting Dbgpt Db-gpt →

Other CWE-36 vulnerabilities

Browse all CWE-36 vulnerabilities →