Remote Code Execution Vulnerability in InvokeAI by Invoke AI
CVE-2024-12029
Key Information:
- Vendor
Invoke-ai
- Status
- Vendor
- CVE Published:
- 20 March 2025
Badges
What is CVE-2024-12029?
A vulnerability exists in InvokeAI versions 5.3.1 through 5.4.2, allowing remote code execution through the /api/v2/models/install endpoint. This vulnerability is due to the unsafe deserialization of model files with torch.load, lacking proper validation of input data. Attackers can exploit this flaw to embed malicious code in model files, which can execute upon loading, posing serious security risks. It is essential for users to upgrade to version 5.4.3 or later to mitigate this issue.
Affected Version(s)
invoke-ai/invokeai < 5.4.3
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
EPSS Score
44% chance of being exploited in the next 30 days.
CVSS V3.0
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
