Skip to content
db-gptGHSA-7gj6-22m4-qfhx

DB-GPT Arbitrary File Write vulnerability

Critical9.1CVE-2024-10901 · Published Mar 20, 2025 · updated Jun 29, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
dbgpt
PyPI
<= 0.6.3No fix yet
Details and references

In eosphoros-ai/db-gpt version v0.6.3 and earlier, 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.

CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-434, CWE-89
Also known as
CVE-2024-10901, PYSEC-2026-322

More db-gpt advisories

All
DateAdvisory
Mar 202025DB-GPT vulnerable to Cross-Site Request Forgery
CVE-2024-10906High7.1no fix yet
Mar 202025DB-GPT vulnerable to Arbitrary File Upload with Path Traversal
CVE-2024-10902Critical9.1no fix yet
Mar 202025DB-GPT Uncontrolled Resource Consumption vulnerability
CVE-2024-10829High7.5no fix yet
Mar 202025DB-GPT Path Traversal vulnerability
CVE-2024-10830High8.2no fix yet
Mar 202025DB-GPT Absolute Path Traversal vulnerability
CVE-2024-10831Critical9.1no fix yet
Mar 202025DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload
CVE-2024-10833Critical9.1fixed in 0.6.2

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.