Read the docs
TI-2024-10044 Aliases CVE-2024-10835GHSA-qccg-9m4q-xfm6

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

Priority HIGH 81CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01183 67th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed dbgpt (PyPI): 0.7.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
eosphoros-aieosphoros-ai/db-gptup to latest—No fix listedCNA
—dbgpt (PyPI)before 0.7.10.7.1Patch availableGHSA-qccg-9m4q-xfm6
  • eosphoros-ai/db-gpt Vendoreosphoros-ai Affected up to latest Fixed in — No fix listed CNA
  • dbgpt (PyPI) Vendor— Affected before 0.7.1 Fixed in 0.7.1 Patch available GHSA-qccg-9m4q-xfm6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*0.6.0Vulnerableeosphoros-ai
  • cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:* Versions 0.6.0 Vulnerable ·eosphoros-ai

Remediation

  • Fix · GHSA-qccg-9m4q-xfm6 dbgpt (PyPI) Fixed in 0.7.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-10835
  2. 2026-10-03 Alias added: GHSA-qccg-9m4q-xfm6

References

  • TI-2024-10106 Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
  • TI-2024-10105 Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
  • TI-2024-10043 Arbitrary File Write in eosphoros-ai/db-gpt CVSS 3.0CRITICAL 9.1
  • TI-2024-10042 Arbitrary File Write in eosphoros-ai/db-gpt CVSS 3.0CRITICAL 9.1
  • TI-2024-10040 Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt CVSS 3.0CRITICAL 9.1
  • TI-2025-00369 Arbitrary File Deletion in eosphoros-ai/DB-GPT CVSS 3.0HIGH 8.2
See all 12 →

Sources