A AegiFlow
CRITICALCVSS 9.1EPSS 1.2%

CVE-2024-10835

DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users

Published
2025-03-20
Modified
2026-10-27
EPSS percentile
68%
Aliases
GHSA-qccg-9m4q-xfm6
Sources
github-advisory

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
PyPIdbgpt—0.7.1

Remediation: Upgrade to 0.7.1 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.