Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-10835 EUVD-2025-7076GHSA-qccg-9m4q-xfm6PYSEC-2026-325

Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt

Published Mar 20, 2025 · Updated Mar 20, 2025 · Assigned by @huntr_ai

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).

Affected products

VendorProductAffectedFixed
eosphoros-ai eosphoros-ai/db-gpt unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dbgpt < 0.7.1 0.7.1 GHSA-qccg-9m4q-xfm6

References