CVE-2024-12029
A remote code execution vulnerability exists in invoke-ai/invokeai versions 5.3.1 through 5.4.2 via the /api/v2/models/install API. The vulnerability arises from unsafe deserialization of model files using torch.load without proper validation. Attackers can exploit this by embedding malicious code in model files, which is executed upon loading. This issue is fixed in version 5.4.3.
- CVSS 3.0
- 9.8 CRITICAL
- EPSS
- 5.7% (92th percentile)
- Weakness
- CWE-502
- NVD status
- Deferred
- Published
- 2025-03-20
CVE-2024-12029 at NVD
6 known exploits for CVE-2024-12029
Proof-of-concept code and exploit modules indexed by Sploitus