Deserialization in Invoke-Ai Invoke-Ai/invokeai
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.060 (93.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 93.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.059 · newest: 0.060 · change: +0.001
Affected products
- Invoke-Ai Invoke-Ai/invokeai — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-12029?
- CVE-2024-12029 is a critical-severity vulnerability in Invoke-Ai Invoke-Ai/invokeai, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2025-03-20.
- How severe is CVE-2024-12029?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2024-12029 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.