CVE-2024-10901 json
Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt
published 2025-03-20 19 mo ago modified 2026-10-27 12 d ago also GHSA-7gj6-22m4-qfhx , PYSEC-2026-322 , EUVD-2025-7089
- cvss
- 9.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
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.
Patch / fix
- github.com/eosphoros-ai/DB-GPT@295cdb8 commit
- github.com/eosphoros-ai/DB-GPT#2269 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/db2c1d59-6e3a-4553-a1f6-94c8df162a18 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | dbgpt | <=0.6.3 |
no fix listed |
Affected products
- eosphoros-ai eosphoros-ai/db-gpt
Classification
References
-
github.com
/eosphoros-ai/DB-GPT/pull/2269
web
-
github.com
/eosphoros-ai/DB-GPT/commit/295cdb8723663d5b0954d5d1dfb4f02b7223b8ff
web
-
huntr.com
/bounties/db2c1d59-6e3a-4553-a1f6-94c8df162a18
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-10901
advisory
-
github.com
/eosphoros-ai/DB-GPT
package
-
github.com
/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-322.yaml
web
-
pypi.org
/project/dbgpt
web, package
-
github.com
/advisories/GHSA-7gj6-22m4-qfhx
advisory
Sources
- CVE List CVE-2024-10901
- GitHub Advisory GHSA-7gj6-22m4-qfhx
- NVD CVE-2024-10901
- OSV PYSEC-2026-322
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.