CVE-2024-10831
CRITICAL 9.1CVSS 3.0DB-GPT Absolute Path Traversal vulnerability
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.
- Published
- 20 Mar 2025
- Last modified
- 27 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-36
- Also known as
- GHSA-hhw5-29f6-hf4xPYSEC-2026-323
- Sources
- NVDJSONOSV GHSA-hhw5-29f6-hf4xJSONOSV PYSEC-2026-323JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dbgpt | db-gptcpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:* |
= 0.6.0 | |
| OSV | PyPI | dbgpt | <= 0.6.0 |
References
- https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-10831 · ADVISORY
- https://github.com/eosphoros-ai/DB-GPT · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-323.yaml · WEB
- https://pypi.org/project/dbgpt · WEB, PACKAGE
- https://github.com/advisories/GHSA-hhw5-29f6-hf4x · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)