CVE-2026-122160 Details
Description
A security vulnerability has been detected in myshell-ai AIlice up to 0.4.0. This vulnerability affects the function LoadModel_PEFT of the file ailice/core/llm/AModelCausalLM.py of the component HuggingFace Model Wrapper. The manipulation of the argument base_model_name_or_path leads to inclusion of functionality from untrusted control sphere. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.
A vulnerability exists in myshell-ai AIlice versions through 0.4.0 within the HuggingFace Model Wrapper component. The issue arises in the LoadModel_PEFT function, located in ailice/core/llm/AModelCausalLM.py. The vulnerability allows for remote execution of untrusted code by manipulating the base_model_name_or_path argument. When an attacker-controlled PEFT LoRA adapter is used, AIlice downloads and executes a model specified by the adapter, including its weights and tokenizer, without proper validation. This model then generates responses that can manipulate downstream tool execution, effectively redirecting the AI's actions to serve the attacker's interests.
Users can avoid this vulnerability by not using untrusted PEFT LoRA adapters or by manually verifying the models referenced in adapter_config.json before use. Additionally, a suggested fix involves modifying the LoadModel_PEFT function to treat the base model name as untrusted input, requiring operator confirmation or enforcing an allowlist of trusted namespaces.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 5, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/myshell-ai/AIlice/ | [email protected] | Source CodeVendor |
| https://github.com/myshell-ai/AIlice/issues/77 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/user-attachments/files/33392335/poc.zip | [email protected] | Broken LinkExploit |
| https://vuldb.com/cve/CVE-2026-122160 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1028200 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/431160 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/431160/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| myshell-ai AIlice | <= 0.4.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Nov 5, 2026 | New CVE Received | [email protected] |
Volerion