Description
A vulnerability was found in LlamaChinese Llama-Chinese up to 6fa0fffb0dd82fe3cfaa1449ee54a5806d26ae9b. The impacted element is the function get_class_from_dynamic_module of the file examples/chat_gradio_no_merge.py of the component Adapter Config. The manipulation of the argument base_model_name_or_path results in code injection. The attack may be performed from remote. The exploit has been made public and could be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-10-19
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is found in the get_class_from_dynamic_module function of examples/chat_gradio_no_merge.py. A crafted value supplied in the base_model_name_or_path argument allows an attacker to inject code, which can be executed on the server. This leads directly to remote code execution, compromising confidentiality, integrity, and availability of the host system. The weakness is a combination of CWE‑74 and CWE‑94, indicating improper neutralisation of input and uncontrolled code generation.

Affected Systems

The affected product is LlamaChinese Llama‑Chinese, with the issue present in all releases up to commit 6fa0fffb0dd82fe3cfaa1449ee54a5806d26ae9b. No official version numbers are disclosed because the project follows a rolling‑release model. Users of any snapshot containing this commit are potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, yet the exploit code has been made public and can be performed remotely. The likely attack vector is a remote request that includes a malicious base_model_name_or_path, which causes arbitrary code to be evaluated in the target environment. Because the flaw permits code injection, the risk to impacted systems is high if the vulnerable code path is exposed and no safeguards are in place.

Generated by OpenCVE AI on October 19, 2026 at 06:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patched release or commit that removes the vulnerable code.
  • Validate or whitelist the base_model_name_or_path parameter to allow only known, trusted values before passing it to get_class_from_dynamic_module.
  • Disable or sandbox the Adapter Config functionality until a permanent fix is deployed.

Generated by OpenCVE AI on October 19, 2026 at 06:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 05:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was found in LlamaChinese Llama-Chinese up to 6fa0fffb0dd82fe3cfaa1449ee54a5806d26ae9b. The impacted element is the function get_class_from_dynamic_module of the file examples/chat_gradio_no_merge.py of the component Adapter Config. The manipulation of the argument base_model_name_or_path results in code injection. The attack may be performed from remote. The exploit has been made public and could be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The project was informed of the problem early through an issue report but has not responded yet.
Title LlamaChinese Llama-Chinese Adapter Config chat_gradio_no_merge.py get_class_from_dynamic_module code injection
First Time appeared Llamachinese
Llamachinese llama-chinese
Weaknesses CWE-74
CWE-94
CPEs cpe:2.3:a:llamachinese:llama-chinese:*:*:*:*:*:*:*:*
Vendors & Products Llamachinese
Llamachinese llama-chinese
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': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

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

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Llamachinese Llama-chinese
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-19T05:00:18.385Z

Reserved: 2026-10-18T14:09:29.035Z

Link: CVE-2026-112080

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-19T05:17:04.993

Modified: 2026-10-19T05:17:04.993

Link: CVE-2026-112080

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T06:30:06Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')