CVE-2024-10901
CRITICAL 9.8CVSS 3.1DB-GPT Arbitrary File Write vulnerability
In eosphoros-ai/db-gpt version v0.6.0, the web API POST /api/v1/editor/chart/run allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE) by writing malicious files such as __init__.py in the Python's /site-packages/ directory.
- Published
- 20 Mar 2025
- Last modified
- 27 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-434CWE-89
- Also known as
- GHSA-7gj6-22m4-qfhxPYSEC-2026-322
- Sources
- NVDJSONOSV GHSA-7gj6-22m4-qfhxJSONOSV PYSEC-2026-322JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 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.3 |
References
- https://huntr.com/bounties/db2c1d59-6e3a-4553-a1f6-94c8df162a18 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-10901 · ADVISORY
- https://github.com/eosphoros-ai/DB-GPT/pull/2269 · WEB
- https://github.com/eosphoros-ai/DB-GPT/commit/295cdb8723663d5b0954d5d1dfb4f02b7223b8ff · WEB
- https://github.com/eosphoros-ai/DB-GPT · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-322.yaml · WEB
- https://pypi.org/project/dbgpt · WEB, PACKAGE
- https://github.com/advisories/GHSA-7gj6-22m4-qfhx · 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)