eosphoros-ai db-gpt 0.7.5 Flow Import Endpoint import importlib.machinery.SourceFileLoader.exec_module File code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.9 | $0-$5k | 0.13 |
Summary
A vulnerability described as critical has been identified in eosphoros-ai db-gpt 0.7.5. Affected by this vulnerability is the function importlib.machinery.SourceFileLoader.exec_module of the file /api/v1/serve/awel/flow/import of the component Flow Import Endpoint. Executing a manipulation as part of File can lead to code injection.
The identification of this vulnerability is CVE-2026-3409. The attack may be launched remotely. Furthermore, there is an exploit available.
The vendor was contacted early about this disclosure but did not respond in any way.
Details
A vulnerability has been found in eosphoros-ai db-gpt 0.7.5 and classified as critical. This vulnerability affects the function importlib.machinery.SourceFileLoader.exec_module of the file /api/v1/serve/awel/flow/import of the component Flow Import Endpoint. The manipulation as part of a File leads to a code injection vulnerability. The CWE definition for the vulnerability is CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. As an impact it is known to affect confidentiality, integrity, and availability.
The bug was discovered 02/20/2026. The advisory is shared for download at gist.github.com. This vulnerability was named CVE-2026-3409. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059. The advisory points out:
A critical code injection vulnerability exists in the flow import endpoint of DB-GPT. The POST /api/v1/serve/awel/flow/import endpoint allows uploading ZIP files containing Python packages. When the manifest (dbgpts.toml) declares definition_type=python, the server loads and executes the package __init__.py via importlib.machinery.SourceFileLoader.exec_module() without any code validation or sandboxing. The check_api_key() function explicitly skips authentication for all /api/v1 paths, making this fully unauthenticated. An attacker can craft a ZIP with malicious Python code that gets executed as the server process (root in default Docker deployment). The vulnerability chain: import_flow() -> _parse_flow_from_zip_file() -> _load_flow_package_from_zip_path() -> parse_package_metadata() -> FlowPythonPackage.build_from() -> load_module_class() -> _load_modules_from_file() -> exec_module(). The attack requires only a single HTTP POST request with a ~1KB ZIP file.
A public exploit has been developed by YLChen-007 in Python. It is possible to download the exploit at gist.github.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 9 days. During that time the estimated underground price was around . The vendor was contacted early about this disclosure but did not respond in any way. The code used by the exploit is:
# dag/loader.py, line 85-92 - Code execution sink
def parse(mod_name, filepath):
loader = importlib.machinery.SourceFileLoader(mod_name, filepath)
spec = importlib.util.spec_from_loader(mod_name, loader)
new_module = importlib.util.module_from_spec(spec)
sys.modules[spec.name] = new_module
loader.exec_module(new_module) # executes __init__.py without validation
return [new_module]
# endpoints.py, line 85-86 - Authentication bypass
async def check_api_key(...):
if request.url.path.startswith("/api/v1"):
return None # bypasses all auth for v1 pathsThere is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-9142). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.9
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Author: YLChen-007
Programming Language: 🔒
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
02/20/2026 Vulnerability found03/01/2026 Advisory disclosed
03/01/2026 VulDB entry created
03/03/2026 VulDB entry last update
Sources
Advisory: gist.github.comStatus: Not defined
CVE: CVE-2026-3409 (🔒)
GCVE (CVE): GCVE-0-2026-3409
GCVE (VulDB): GCVE-100-348304
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/01/2026 10:44Updated: 03/03/2026 15:23
Changes: 03/01/2026 10:44 (58), 03/01/2026 14:27 (6), 03/02/2026 07:14 (30), 03/02/2026 11:01 (1), 03/03/2026 15:23 (1)
Complete: 🔍
Submitter: Eric-x
Committer: Eric-x
Cache ID: 216:43C:103
Submit
Accepted
- Submit #763745: eosphoros-ai DB-GPT 0.7.5 Code Injection (CWE-94) (by Eric-x)
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.