Critical severity · published Mar 20, 2025
CVE-2024-10901
Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt
9.8
CVSS
1.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 65% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EO
eosphoros-ai/db-gpt · eosphoros-ai
through latest · source: vendor
DB
Db-gpt · Dbgpt
0.6.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-10901
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-10901
Exploit
https://huntr.com/bounties/db2c1d59-6e3a-4553-a1f6-94c8df162a18
More from eosphoros-ai/db-gpt
9.8
CVE-2024-10835
Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt
9.8
CVE-2024-10902
Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt
9.1
CVE-2024-10834
Arbitrary File Write in eosphoros-ai/db-gpt
9.1
CVE-2024-10833
Arbitrary File Write in eosphoros-ai/db-gpt
9.1
CVE-2024-10831
Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt
