Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious HuggingFace model repo
-
DeliveryOperator loads model via DB-GPT HuggingFace Adapter
-
Exploitexec_module honors trust_remote_code
-
ExecutionAttacker Python executes on host
-
ImpactCode 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.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
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Hugging Face
View allThe huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data
Unauthenticated remote code execution in HuggingFace LeRobot (versions 0 through 0.5.1) stems from pickle.loads() being
Arbitrary Python code execution in LMDeploy 0.12.1 through 0.12.2 lets an attacker who publishes a malicious model on Hu
Deserialization of attacker-supplied pickle data in the deprecated pandas packaged builder of Hugging Face Datasets (all
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository,
The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (R
Path traversal in Hugging Face Datasets up to 5.0.0 allows attackers to read arbitrary local files when a victim process
Server-side request forgery in HuggingFace text-generation-inference through version 3.3.7 enables unauthenticated remot
Path traversal in Hugging Face Accelerate through 1.14.0 exposes two distinct attack outcomes when a user loads a crafte
A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, spe
EUVD-2026-117415
GHSA-w66p-3ghr-2qhf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB