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.