CVE-2026-123019

eosphoros-ai DB-GPT HuggingFace Adapter hf_adapter.py exec_module inclusion of functionality from untrusted control sphere

Published Nov 5, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw resides in the exec_module function of hf_adapter.py in the HuggingFace Adapter component of DB‑GPT. Manipulating the argument trust_remote_code allows an attacker to forcibly include and execute code from an external, untrusted source. This can result in arbitrary code execution on the host system that runs the vulnerable DB‑GPT instance.

Affected Systems

The vulnerability affects eosphoros‑ai DB‑GPT versions up to 0.8.2. No other product versions are known to be impacted at this time.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA's KEV catalog, which implies it has not yet been identified as a widely exploited issue. The attack vector is remote, meaning an attacker can trigger the exploit over the network, and a public exploit is available. Organizations running the vulnerable DB‑GPT version should therefore consider the risk significant enough to act promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a fixed release of DB‑GPT beyond version 0.8.2 once an official patch is released.
  • Configure the HuggingFace Adapter to use trust_remote_code=False, effectively preventing the loading of external modules
  • Review the code loading logic and implement a whitelist of allowed model repositories if possible
  • Implement network segmentation so that DB‑GPT can only reach trusted model servers and monitor outbound connections for abnormal activity

Generated by OpenCVE AI on November 5, 2026 at 13:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title eosphoros-ai DB-GPT HuggingFace Adapter hf_adapter.py exec_module inclusion of functionality from untrusted control sphere
First Time appeared Eosphoros-ai
Eosphoros-ai db-gpt
Weaknesses CWE-829
CPEs cpe:2.3:a:eosphoros-ai:db-gpt:*:*:*:*:*:*:*:*
Vendors & Products Eosphoros-ai
Eosphoros-ai db-gpt
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 5, 2026, 8:44 PM
Reserved
Nov 5, 2026, 6:17 AM
Status
Deferred
Published
Nov 5, 2026, 12:17 PM
Modified
Nov 5, 2026, 9:18 PM