CVE-2024-12029
published critical CVSS 3.0 · 9.8Remote Code Execution via Model Deserialization in invoke-ai/invokeai
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| invoke-ai | — | invoke-ai/invokeaiunspecified to < 5.4.3 | Affected | Not stated | @huntr_ai |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| invoke-ai | invoke-ai/invokeai | unspecified to < 5.4.3 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
2Provider assertions
2@huntr_ai · cna
Remote Code Execution via Model Deserialization in invoke-ai/invokeai
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ea1a99f51d94cc24131f2190f6cf68656d174d487a0b1c5f9c723f20c4dbae69
- Ingested
- 23 Sep 2026, 08:17:21 UTC
- Source record
- Official CVE record