Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents moderate-to-high real-world risk despite the CVSS 6.3 score (medium severity). The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U) indicates network-accessible attack surface requiring low complexity and authenticated access, with limited scope and moderate impact (confidentiality, integrity, availability). However, several factors elevate practical risk: (1) a public proof-of-concept exploit exists and is disclosed on GitHub, eliminating the need for attacker sophistication; (2) file upload vulnerabilities frequently chain into remote code execution, escalating impact beyond the base CVSS; (3) the vendor's non-responsiveness to early disclosure suggests no official patch timeline; (4) authentication is required, limiting attack surface but not eliminating risk in environments with multiple users or weak credential management. The exploitation is highly automatable given the POC availability. This should be prioritized for immediate patching or mitigation, particularly in production environments handling sensitive data. |
| Exploit ScenarioDerived | An authenticated user (such as a legitimate employee with credentials) or an attacker who has compromised valid credentials connects to the DB-GPT FastAPI endpoint and sends a crafted HTTP POST request to the module_plugin.refresh_plugins endpoint with a malicious file (e.g., a Python script or shell command) embedded in the upload payload. Due to insufficient validation, the file is written to the server's filesystem in a location where it can be executed (such as a plugin directory with automatic loading). Upon execution, the attacker gains arbitrary code execution on the DB-GPT server, potentially compromising the underlying database, exfiltrating data, or pivoting to adjacent systems. A public POC demonstrates this exact technique, making exploitation straightforward for attackers with valid credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
An unrestricted file upload vulnerability exists in eosphoros-ai DB-GPT versions up to 0.7.5 within the module_plugin.refresh_plugins function of the FastAPI endpoint located at packages/dbgpt-serve/src/dbgpt_serve/agent/hub/controller.py. An authenticated attacker can remotely upload arbitrary files to the system, potentially achieving remote code execution or system compromise. A public proof-of-concept exploit is available on GitHub, and the vendor has not responded to early disclosure attempts, indicating patches may not be forthcoming.
RemediationAI
Immediately upgrade eosphoros-ai DB-GPT to a version greater than 0.7.5 if available from the project repository (check https://github.com/eosphoros-ai/DB-GPT for releases). If no patched version is available due to vendor non-responsiveness, implement compensating controls: restrict network access to the FastAPI endpoint to trusted internal networks only, enforce authentication and authorization on all upload endpoints via reverse proxy rules, disable the module_plugin.refresh_plugins functionality if not operationally required, and implement strict file upload validation at the reverse proxy layer (block executable file types, enforce size limits, and scan uploads with antivirus/sandbox tools). Monitor audit logs for suspicious file uploads and consider containerizing DB-GPT deployments to limit blast radius of potential file-based exploits.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DB-GPT is a large language model framework built on FastAPI (a modern Python web framework). The vulnerability is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type), representing a failure to properly validate file uploads at the application layer. The affected component is a FastAPI endpoint handler responsible for refreshing plugin modules, which apparently accepts and persists uploaded files without sufficient validation of file type, size, or content. The CPE cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:* indicates all versions up to 0.7.5 are in scope. The root cause is improper input validation and insufficient access controls on the upload mechanism, allowing authenticated users to bypass intended restrictions.
Know when Db Gpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability has been found in eosphoros-ai DB-GPT up to 0.7.5. This issue affects the function module_plugin.refresh_plugins of the file packages/dbgpt-serve/src/dbgpt_serve/agent/hub/controller.py of the component FastAPI Endpoint. Such manipulation leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
Organizations using eosphoros-ai DB-GPT should be aware of moderate risk from CVE-2026-4505, a unrestricted file upload vulnerability rated CVSS 6.3. This could allow unauthorized file access. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Uplo
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queri
DB-GPT through 0.8.2 ships a default docker-compose.yml that hardcodes the MySQL root password and publishes port 3306 o
Unauthenticated remote code execution in DB-GPT through 0.8.2 allows remote attackers to reach the /api/v1/chat/react-ag
eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. Rated critical sev
In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. Rated c
eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file
A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint `/v1/resource/file/de
eosphoros-ai/DB-GPT version latest is vulnerable to arbitrary file deletion on Windows systems via the '/v1/agent/hub/up
In version 0.6.0 of eosphoros-ai/db-gpt, the `uvicorn` app created by `dbgpt_server` uses an overly permissive instance
Path traversal in DB-GPT versions 0.7.0 through 0.7.2 allows unauthenticated remote attackers to read or write files out
SQL injection in eosphoros-ai db-gpt versions up to 0.7.5 allows unauthenticated remote attackers to manipulate the /api
EUVD-2026-13806
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB