{"id":"CVE-2024-10835","published":"2025-03-20T10:09:31Z","modified":"2025-03-20T18:37:53Z","title":"Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt","vendor":"eosphoros-ai","product":"eosphoros-ai/db-gpt","tier":"tail","description":{"text":"In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write using DuckDB SQL, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE).","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01183,"percentile":0.68538,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9","tags":[]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":13.71},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"eosphoros-ai","affectedVersions":[{"vendor":"eosphoros-ai","product":"eosphoros-ai/db-gpt","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-20T17:53:41.471475Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"dbgpt","vulnerableRanges":["<0.7.1"],"patched":["0.7.1"],"from":["GHSA-qccg-9m4q-xfm6","PYSEC-2026-325"],"provenance":"source"}],"summary":{"text":"The flaw is an SQL injection in the web API endpoint POST /api/v1/editor/sql/run of eosphoros-ai/db-gpt, version v0.6.0, which executes submitted SQL queries without any access control. An unauthenticated remote attacker can exploit it over the network, with no user interaction required, to run DuckDB SQL that writes arbitrary files to the server's file system, which can potentially lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:26Z"},"euvd":{"id":"EUVD-2025-7076","exploited":false,"provenance":"source"}}