{"id":"CVE-2024-10835","aliases":["EUVD-2025-7076","GHSA-qccg-9m4q-xfm6","PYSEC-2026-325"],"status":"published","title":"Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt","description":"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).","severity":{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01183,"percentile":0.68029,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2025-03-20T10:09:31Z","modified":"2026-10-28T02:30:35Z","fixes":[{"ecosystem":"PyPI","package":"dbgpt","fixed_in":["0.7.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"dbgpt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"dbgpt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1"}]}],"versions":["0.4.7","0.5.0","0.5.1","0.5.10","0.5.1rc0","0.5.2","0.5.2rc0","0.5.3","0.5.3rc0","0.5.4","0.5.4rc0","0.5.5","0.5.5rc0","0.5.6","0.5.6rc0","0.5.7","0.5.7rc0","0.5.8","0.5.9","0.5.9rc0","0.6.1","0.6.2","0.6.3","0.6.3rc0","0.6.3rc1","0.6.3rc2","0.6.3rc3","0.7.0","0.7.0rc0","0.7.0rc1","0.7.1rc0","0.7.1rc1"]},{"source":"osv","ecosystem":"PyPI","package":"dbgpt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1"}]}],"versions":["0.4.7","0.5.0","0.5.1","0.5.10","0.5.1rc0","0.5.2","0.5.2rc0","0.5.3","0.5.3rc0","0.5.4","0.5.4rc0","0.5.5","0.5.5rc0","0.5.6","0.5.6rc0","0.5.7","0.5.7rc0","0.5.8","0.5.9","0.5.9rc0","0.6.1","0.6.2","0.6.3","0.6.3rc0","0.6.3rc1","0.6.3rc2","0.6.3rc3","0.7.0","0.7.0rc0","0.7.0rc1","0.7.1rc0","0.7.1rc1"]}],"products":[{"vendor":"dbgpt","product":"db-gpt"},{"vendor":"eosphoros-ai","product":"eosphoros-ai/db-gpt"}],"references":[{"url":"https://huntr.com/bounties/e32fda74-ca83-431c-8de8-08274ba686c9","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10835","tags":["advisory"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/pull/2650","tags":["web"]},{"url":"https://github.com/eosphoros-ai/DB-GPT/releases/tag/v0.7.1","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-325.yaml","tags":["web"]},{"url":"https://pypi.org/project/dbgpt","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-qccg-9m4q-xfm6","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10835.json","tags":["advisory"]},{"url":"https://github.com/eosphoros-ai/DB-GPT","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-10835","title":"Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt","description":"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).","status":"published","published":"2025-03-20T10:09:31.809Z","modified":"2025-03-20T18:37:53.483Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:34:02.321514Z"}],"euvd":[{"id":"EUVD-2025-7076","description":"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).","status":"published","published":"2025-03-20T10:09:31Z","modified":"2025-03-20T18:37:53Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:56.973752Z"}],"ghsa":[{"id":"GHSA-qccg-9m4q-xfm6","title":"DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users","description":"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).","status":"published","published":"2025-03-20T12:32:40Z","modified":"2026-10-27T16:26:21Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:41:37.912288Z"}],"nvd":[{"id":"CVE-2024-10835","description":"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).","status":"published","published":"2025-03-20T10:15:20.87Z","modified":"2026-06-17T06:56:32.14Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:10:45.815983Z"}],"osv":[{"id":"CVE-2024-10835","title":"Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt","description":"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).","status":"published","published":"2025-03-20T10:09:31.809Z","modified":"2026-10-28T02:30:35.302791795Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:44:37.180532Z"},{"id":"GHSA-qccg-9m4q-xfm6","title":"DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users","description":"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).","status":"published","published":"2025-03-20T12:32:40Z","modified":"2026-10-27T16:45:03.493099467Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:54.40888Z"},{"id":"PYSEC-2026-325","title":"DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users","description":"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).","status":"published","published":"2026-06-29T11:50:35.006576Z","modified":"2026-07-01T20:22:50.988562Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:56.429374Z"}]}}
