CVE-2026-122160
Description
A flaw was found in AIlice. The Hugging Face model wrapper fails to properly restrict or validate model paths within the LoadModel_PEFT function. A remote attacker could exploit this vulnerability by supplying a manipulated model path, causing the application to load and execute untrusted external code or resources.
Statement
Moderate severity is assigned to this flaw because successful exploitation requires an attacker to induce the framework to process an untrusted model reference, necessitating external interaction rather than allowing direct unauthenticated execution. Red Hat does not package or ship AIlice in any supported product offerings. Consequently, Red Hat enterprise environments and default platform installations are not exposed to this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Understanding the Weakness (CWE)
Confidentiality,Integrity,Availability
Technical Impact: Execute Unauthorized Code or Commands
An attacker could insert malicious functionality into the program by causing the program to download code that the attacker has placed into the untrusted control sphere, such as a malicious web site. This could enable the injection of malware, information exposure by granting excessive privileges or permissions to the untrusted functionality, DOM-based XSS vulnerabilities, stealing user's cookies, open redirect to malware (CWE-601), etc.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.