Skip to main content

DB-GPT EUVDEUVD-2026-117415

| CVE-2026-123019 MEDIUM
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-11-05 VulDB GHSA-w66p-3ghr-2qhf
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Publish malicious HuggingFace model repo
  2. Delivery
    Operator loads model via DB-GPT HuggingFace Adapter
  3. Exploit
    exec_module honors trust_remote_code
  4. Execution
    Attacker Python executes on host
  5. Impact
    Code execution in DB-GPT context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Exploitation requires that DB-GPT (≤0.8.2) load a HuggingFace model whose repository contains custom code, with the trust_remote_code argument handled by exec_module in hf_adapter.py permitting that remote code to run; the public advisory indicates this occurs in the default configuration. The practical prerequisite is that an operator loads or is induced to load an attacker-controlled/untrusted model through the HuggingFace Adapter - the attack is network-originated in that the malicious model is fetched remotely, but it is not a fully drive-by remote exploit because it hinges on the model actually being loaded. The limiting factors defenders should weigh: the need for a malicious model to be selected and loaded, and whether trust_remote_code behavior can be constrained; because the project has not responded and no patched version is available, the directly applicable risk reduction is avoiding loading untrusted HuggingFace models through the adapter.

Impact

The VulDB CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with E:P yields a 5.5 (medium) base score, but its impact metrics VC:L/VI:L/VA:L understate the mechanism: abuse of the trust_remote_code argument in the HuggingFace Adapter is an untrusted-code-inclusion flaw (CWE-829) that leads to arbitrary Python execution on the DB-GPT host, which would normally merit high confidentiality/integrity/availability impact - treat the low-impact rating as conservative scoring rather than a true severity ceiling. Conversely, the PR:N/UI:N/AV:N portion likely overstates reachability: realistic exploitation depends on a DB-GPT operator loading an attacker-supplied model through the adapter, so this behaves more like an operator/config-dependent code-execution issue than a drive-by remote exploit. Exploitation maturity is a proof-of-concept only (E:P) - a public PoC reference exists but is not verified as working exploit code. There is no CISA KEV listing and no EPSS score in the provided data, so exploitation is not confirmed active and widespread exploitation cannot be inferred. The vuln.today decision label is 'this_month' (not act_now/emergency). Net assessment: a genuine code-execution risk amplified by an unresponsive, unpatched project, but not an emergency - prioritize within a normal patch cycle while applying the configuration-level mitigation below.

Exploit ScenarioDerived

An attacker publishes a crafted HuggingFace model repository containing malicious custom loader code. When a DB-GPT (≤0.8.2) operator loads that model through the HuggingFace Adapter, exec_module in hf_adapter.py honors the trust_remote_code setting and executes the attacker's Python on the server, yielding code execution in the DB-GPT process context. A public PoC reference exists but is not verified as working exploit code.

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 – Nov 05, 2026

Untrusted-code inclusion in eosphoros-ai DB-GPT through version 0.8.2 lets a malicious HuggingFace model repository run arbitrary Python on the DB-GPT host when that model is loaded through the HuggingFace Adapter: the exec_module function of hf_adapter.py handles the trust_remote_code argument in a way that permits remote custom code to execute, and the public advisory indicates this behaviour occurs in the default configuration. The attack is network-originated because the model repository is fetched remotely, but it is not a drive-by remote exploit - an operator must load, or be induced to load, an attacker-controlled or otherwise untrusted model. A public PoC reference exists; it is not verified as working exploit code, there is no CISA KEV entry, and the project has not responded with a patched release. The upstream issue report has been filed but the maintainers have not acknowledged or fixed it at time of analysis.

RemediationAI

No vendor-released patch identified at time of analysis: the project was informed through issue https://github.com/eosphoros-ai/DB-GPT/issues/3290 but has not responded, and no fixed DB-GPT version is listed in the available data, so upgrading is not currently an option and remediation must be operational. The directly applicable risk reduction is to avoid loading untrusted or unverified HuggingFace models through the DB-GPT HuggingFace Adapter - restrict model loading to a vetted allowlist of repositories and revisions whose contents have been inspected, understanding the trade-off that this narrows the model catalogue available to users and requires manual review effort. Because the public advisory states the vulnerable behaviour occurs in the default configuration, treat any model source reaching hf_adapter.py as attacker-controlled until proven otherwise; constrain or disable the trust_remote_code path where the deployment allows it, accepting that some models shipping custom configuration, tokenizer or modeling files will then fail to load. Restricting outbound access from the DB-GPT host to only approved model registries/mirrors reduces exposure to typo-squatted or substituted repositories but does not protect against a malicious model hosted on an approved source. Monitor the upstream repository and issue 3290 for a patched release and apply it as soon as one is published.

Affected VersionsENISA

db-gpt 0.8.1
db-gpt 0.8.0
db-gpt 0.8.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 agent/data framework that integrates HuggingFace models through an adapter layer (hf_adapter.py). HuggingFace's trust_remote_code option allows a model repository to ship its own Python modules (custom configuration, tokenizer and modeling files) that the transformers library imports and executes at load time; when that flag is enabled, the code comes from the model author rather than from the installed library. CVE-2026-123019 is classified as CWE-829 (Inclusion of Functionality from Untrusted Control Sphere): exec_module in hf_adapter.py manipulates trust_remote_code such that custom code from the remote repository is pulled into the trusted execution sphere of the DB-GPT process. The CPE cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:* is unfixed in the feed data but the description scopes the issue to releases up to and including 0.8.2. Because the imported code runs with the privileges of the DB-GPT service, the practical result is arbitrary Python execution on the host, which is why the independent assessment rates confidentiality, integrity and availability impact as high even though the VulDB CVSS 4.0 vector records only low impact metrics (VC:L/VI:L/VA:L) - the low-impact scoring should be read as conservative, not as a true ceiling. The trigger mechanism beyond the trust_remote_code handling in exec_module is not further described in the available sources.

Know when Hugging Face 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

Vendor (VulDB) 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 8.8 HIGH

Loading an attacker-supplied model executes arbitrary repo code (C/I/A:H) but requires an operator to load that model, so UI:R; attacker needs no target privileges (PR:N).

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

2
CVSS changed
Nov 05, 2026 - 12:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Nov 05, 2026 - 12:00 cve.org
MEDIUM 5.5

DescriptionCVE.org

A weakness has been identified in eosphoros-ai DB-GPT up to 0.8.2. Impacted is the function exec_module of the file hf_adapter.py of the component HuggingFace Adapter. Executing a manipulation of the argument trust_remote_code can lead to inclusion of functionality from untrusted control sphere. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
open-source LLM/database agent framework, limited production deployment footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2024-3568 CRITICAL POC
9.6 Apr 10

The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data

CVE-2026-25874 CRITICAL POC
9.3 Apr 23

Unauthenticated remote code execution in HuggingFace LeRobot (versions 0 through 0.5.1) stems from pickle.loads() being

CVE-2026-33625 HIGH POC
8.8 Sep 18

Arbitrary Python code execution in LMDeploy 0.12.1 through 0.12.2 lets an attacker who publishes a malicious model on Hu

CVE-2026-57845 HIGH POC
8.7 Oct 23

Deserialization of attacker-supplied pickle data in the deprecated pandas packaged builder of Hugging Face Datasets (all

CVE-2023-6730 HIGH POC
8.8 Dec 19

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2023-7018 HIGH POC
7.8 Dec 20

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2025-3262 HIGH POC
7.5 Jul 07

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository,

CVE-2025-6921 HIGH POC
7.5 Sep 23

The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (R

CVE-2026-66007 MEDIUM POC
6.9 Jul 24

Path traversal in Hugging Face Datasets up to 5.0.0 allows attackers to read arbitrary local files when a victim process

CVE-2026-63086 MEDIUM POC
6.9 Jul 16

Server-side request forgery in HuggingFace text-generation-inference through version 3.3.7 enables unauthenticated remot

CVE-2026-69112 MEDIUM POC
6.9 Aug 10

Path traversal in Hugging Face Accelerate through 1.14.0 exposes two distinct attack outcomes when a user loads a crafte

CVE-2025-1194 MEDIUM POC
6.5 Apr 29

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, spe

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