Impact
The vulnerability is in the LoadModel_PEFT function within the AModelCausalLM.py module of the AIlice HuggingFace Model Wrapper. By manipulating the base_model_name_or_path argument, an attacker can cause the wrapper to load functionality from an untrusted control sphere. This enables remote code execution, compromising confidentiality, integrity, and availability of the host system. The weakness aligns with CWE‑829, which covers improper restriction of capabilities.
Affected Systems
The issue affects all versions of myshell‑ai AIlice up to and including 0.4.0. Any installation that uses the LoadModel_PEFT function with that code base is potentially vulnerable. The problem is present in the AIlice repository hosted on GitHub and was reported in issue 77. Users of earlier releases should verify if they have applied any subsequent commits that fix the issue.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, as an attacker can supply a crafted base_model_name_or_path value when calling LoadModel_PEFT. No additional conditions are required beyond normal usage of the function, making exploitation relatively straightforward. Organizations should consider the risk of remote code execution until an official fix is released.
OpenCVE Enrichment