Read the docs
TI-2024-10105 Aliases CVE-2024-10901GHSA-7gj6-22m4-qfhx

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

Priority HIGH 81CWE-434Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution, SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

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

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01095 65th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

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)up to 0.6.3—No fix listedGHSA-7gj6-22m4-qfhx
  • eosphoros-ai/db-gpt Vendoreosphoros-ai Affected up to latest Fixed in — No fix listed CNA
  • dbgpt (PyPI) Vendor— Affected up to 0.6.3 Fixed in — No fix listed GHSA-7gj6-22m4-qfhx

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

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-10901
  2. 2026-10-03 Alias added: GHSA-7gj6-22m4-qfhx

References

  • TI-2024-10106 Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt CVSS 3.1CRITICAL 9.8
  • TI-2024-10044 Arbitrary File Write via 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