eosphoros-ai db-gpt 0.7.5 Flow Import Endpoint import importlib.machinery.SourceFileLoader.exec_module File code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.9$0-$5k0.13

Summaryinfo

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.

Detailsinfo

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 paths

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

Productinfo

Type

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Code injection
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

02/20/2026 Vulnerability found
03/01/2026 +9 days Advisory disclosed
03/01/2026 +0 days VulDB entry created
03/03/2026 +2 days VulDB entry last update

Sourcesinfo

Advisory: gist.github.com
Status: 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

Entryinfo

Created: 03/01/2026 10:44
Updated: 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

Submitinfo

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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!