CVE-2024-10831 in Dbgpt Db-Gpt
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-controllabl...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Dbgpt | Db-Gpt | 0.6.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-10831 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-181715-C |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| Published | 2025-03-20 |
| Last modified | 2025-07-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-36: CWE-36
Related attack patterns (CAPEC)
CAPEC-597 Absolute Path Traversal via CWE-36
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
eosphoros-ai/db-gpt version 0.6.0 contains a critical vulnerability in the file upload endpoint, allowing attackers to perform absolute path traversal and upload files to arbitrary locations on the server.
The vulnerability arises from user-controllable parameters `file_key` and `doc_file.filename` in the file upload endpoint, which can be manipulated to construct paths outside the intended directory.
Questions
What is CVE-2024-10831?
eosphoros-ai/db-gpt version 0.6.0 contains a critical vulnerability in the file upload endpoint, allowing attackers to perform absolute path traversal and upload files to arbitrary locations on the server.
What is the CVSS score for CVE-2024-10831?
CVE-2024-10831 has CVSS 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. EPSS: 1.1%.
Is CVE-2024-10831 actively exploited?
No confirmed active exploitation of CVE-2024-10831 as of 2026-05-30.
How do I remediate CVE-2024-10831?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-10831?
CVE-2024-10831 affects Dbgpt Db-Gpt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Dbgpt","product":"Db-Gpt","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-07-17.