Skip to main content
← All vulnerabilities
CVE-2024-10901GHSA-7GJ6-22M4-QFHXPYSEC-2026-322

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • eosphoros-ai eosphoros-ai/db-gpt

    Version range not reported

  • dbgptPyPI

    through 0.6.3

References 1

huntr.com