CVE-2024-10831Dbgpt Db-gpt
Critical 9.1 No auth needed
Follow: this CVE · Dbgpt · Dbgpt Db-gpt We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.0
- 9.1
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- No
- Published
- Mar 20, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-36
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Db-gpt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dbgpt |
≤ 0.6.0 |
no fixed version | — |
| PyPI | dbgpt |
≤ 0.6.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-hhw5-29f6-hf4x, PYSEC-2026-323). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dbgpt | db-gpt | 0.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- huntr.com Exploit Third Party Advisory