Skip to main content

DB-GPT CVE-2025-6772

| EUVDEUVD-2025-19420 MEDIUM
Path Traversal (CWE-22)
2025-06-27 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-exposed DB-GPT instance
  2. Delivery
    Send unauthenticated POST to /api/v2/serve/awel/flow/import
  3. Exploit
    Inject traversal sequences in File parameter
  4. Execution
    Access files outside intended upload directory
  5. Persist
    Exfiltrate credentials or overwrite application files
  6. Impact
    Achieve persistence or lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The /api/v2/serve/awel/flow/import endpoint must be reachable over the network. Based on the CVSS 4.0 vector (PR:N/UI:N), no authentication credential is required to invoke this endpoint - the AWEL flow import API appears to be unauthenticated by default in affected versions. The AWEL flow import feature must be present, which is standard in DB-GPT 0.7.x. Exploitation impact is bounded by the OS-level file permissions of the DB-GPT process: a process running as a non-root user confined to its application directory, or inside a container with a read-only filesystem, will face a reduced blast radius. Internet-exposed instances without authentication enforcement in front of the API are at highest risk.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/E:P) establishes this as unauthenticated, low-complexity, remotely exploitable with a confirmed public proof-of-concept, yet the scored value of 5.5 reflects constrained impact (VC:L/VI:L/VA:L) rather than full system compromise. The EPSS of 0.43% at the 62nd percentile is modest in absolute terms but elevated relative to the broader CVE population, consistent with niche software that attracts researcher attention after POC publication. The no-authentication requirement combined with a live exploit means that even a mid-sized municipal IT team in radom should treat this as urgent if they expose DB-GPT to untrusted networks. The primary escalation concern is that path traversal write access - if the process has sufficient filesystem privileges - can be leveraged to overwrite template files, configuration files, or Python modules loaded by the application, potentially escalating to remote code execution beyond the L/L/L impact the CVSS reflects. Deployments running DB-GPT in a locked-down container or with a read-only application directory will see reduced real-world impact.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted multipart HTTP POST request to /api/v2/serve/awel/flow/import on an internet-exposed DB-GPT instance, embedding a File parameter containing directory traversal sequences (e.g., ../../.env or ../../config/db.yaml) to retrieve sensitive files such as database credentials or API keys. With write-capable traversal, the attacker may overwrite a Python module or configuration file loaded at runtime, converting the path traversal into persistent code execution. The public POC lowers the technical barrier to near-zero for this attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Path traversal in DB-GPT versions 0.7.0 through 0.7.2 allows unauthenticated remote attackers to read or write files outside the intended directory by supplying crafted path sequences in the File argument of the AWEL flow import endpoint at /api/v2/serve/awel/flow/import. A proof-of-concept has been publicly disclosed via the eosphoros-ai GitHub issue tracker, materially lowering the bar for opportunistic exploitation against internet-exposed instances. No vendor-released patched version has been confirmed at time of analysis, leaving affected deployments without an official upstream fix.

RemediationAI

No vendor-released patched version has been identified at time of analysis; the issue was reported via a GitHub issue (https://github.com/eosphoros-ai/DB-GPT/issues/2774) but no tagged upstream release addressing this flaw appears in the available references. Organizations should monitor the eosphoros-ai GitHub repository and VulDB advisory (https://vuldb.com/?id.314088) for patch availability. As an immediate compensating control, restrict or block external access to the /api/v2/serve/awel/flow/import endpoint using a reverse proxy or firewall, noting that this disables the AWEL flow import feature for all external users. If DB-GPT does not need to be internet-facing, binding the service to a loopback or internal network interface eliminates the remote attack vector entirely. Ensuring the DB-GPT process runs under a least-privilege account with write access confined to a chrooted or container-isolated directory will limit the impact of any exploitation if blocking network access is not immediately feasible.

Affected VersionsENISA

db-gpt 0.7.1
db-gpt 0.7.0
db-gpt 0.7.2

Affected Packages

euvd db_gpt no fix

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 an open-source AI agent and LLM-to-database framework developed by eosphoros-ai, featuring AWEL (Agentic Workflow Expression Language) for building pipeline workflows. The vulnerable component is the import_flow function, which handles multipart file uploads at the REST API endpoint /api/v2/serve/awel/flow/import. The root cause is CWE-22 (Path Traversal): the application fails to sanitize or canonicalize the caller-supplied File parameter before using it to locate or write files on the server filesystem, allowing directory traversal sequences such as ../ or absolute path injections to escape the intended storage directory and access arbitrary server-side paths. The affected CPE is cpe:2.3:a:dbgpt:db-gpt:*:*:*:*:*:*:*:* covering all enumerated versions 0.7.0, 0.7.1, and 0.7.2.

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

NVD PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.5 MEDIUM

Unauthenticated network API endpoint, no user interaction; path traversal enables limited file read/write with no meaningful availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Sep 15, 2025 - 13:53 vuln.today
Public exploit code
CVE Published
Jun 27, 2025 - 19:15 nvd
HIGH 7.3
CVE Published
Jun 27, 2025 - 19:15 cve.org
MEDIUM 5.5

DescriptionCVE.org

A vulnerability was found in eosphoros-ai db-gpt up to 0.7.2. It has been classified as critical. Affected is the function import_flow of the file /api/v2/serve/awel/flow/import. The manipulation of the argument File leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.4%
Top 38% exploitable
Prevalence
Low
niche open-source AI agent framework, limited enterprise production footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Db Gpt

View all
CVE-2024-10902 CRITICAL POC
9.8 Mar 20

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Uplo

CVE-2024-10835 CRITICAL POC
9.8 Mar 20

In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queri

CVE-2026-77933 CRITICAL POC
9.3 Oct 20

DB-GPT through 0.8.2 ships a default docker-compose.yml that hardcodes the MySQL root password and publishes port 3306 o

CVE-2026-77932 CRITICAL POC
9.3 Oct 20

Unauthenticated remote code execution in DB-GPT through 0.8.2 allows remote attackers to reach the /api/v1/chat/react-ag

CVE-2024-10833 CRITICAL POC
9.1 Mar 20

eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. Rated critical sev

CVE-2024-10831 CRITICAL POC
9.1 Mar 20

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. Rated c

CVE-2024-10834 CRITICAL POC
9.1 Mar 20

eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file

CVE-2024-10830 HIGH POC
8.2 Mar 20

A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint `/v1/resource/file/de

CVE-2025-0452 HIGH POC
8.2 Mar 20

eosphoros-ai/DB-GPT version latest is vulnerable to arbitrary file deletion on Windows systems via the '/v1/agent/hub/up

CVE-2024-10906 HIGH POC
8.1 Mar 20

In version 0.6.0 of eosphoros-ai/db-gpt, the `uvicorn` app created by `dbgpt_server` uses an overly permissive instance

CVE-2026-4504 MEDIUM POC
5.5 Mar 20

SQL injection in eosphoros-ai db-gpt versions up to 0.7.5 allows unauthenticated remote attackers to manipulate the /api

CVE-2026-80104 CRITICAL
9.3 Aug 25

Unauthenticated arbitrary file write in DB-GPT 0.8.0 lets remote attackers achieve remote code execution through the ski

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy