CVE-2024-10831: In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversa
CVE-2024-10831 is a critical-severity flaw (CVSS 9.1) affecting db-gpt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 SS
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 42%) |
| CISA exploited list | No |
| Weakness | CWE-36 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-10831?
db-gpt: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-10831 being exploited?
CVE-2024-10831 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-10831 affect?
CVE-2024-10831 affects db-gpt. Severity is critical (CVSS 9.1). 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 b
How urgent is CVE-2024-10831?
Priority 56/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-6772 HIGH 7.3 UPGRADE A vulnerability was found in eosphoros-ai db-gpt up to 0.7.2
- CVE-2025-51459 MEDIUM 6.5 DOWNGRADE File Upload vulnerability in agent.hub.controller.refresh_plugins in eosphoros-ai DB-GPT 0.7.0 allows remote a
- CVE-2025-51458 MEDIUM 6.5 DOWNGRADE SQL Injection in editor_sql_run and query_ex in eosphoros-ai DB-GPT 0.7.0 allows remote attackers to execute a
- CVE-2025-0452 HIGH 8.2 DOWNGRADE eosphoros-ai/DB-GPT version latest is vulnerable to arbitrary file deletion on Windows systems via the '/v1/ag
- CVE-2024-10906 HIGH 8.1 DOWNGRADE In version 0.6.0 of eosphoros-ai/db-gpt, the `uvicorn` app created by `dbgpt_server` uses an overly permissive