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.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.8
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS probability
- 5.88%
- CWE
- CWE-502
- Published
- 2025-03-20
- Last modified
- 2026-03-13
Affected products
- invoke-ai invoke-ai/invokeai
Weakness type
Related vulnerabilities
- CVE-2026-87930 — MaxSite CMS through 109.6 PHP Object Injection via ci_session
- CVE-2026-87874 — Community.general: community.general: memcached cache plugin deserializes untrusted pickle data from memcached, enabling cache-poisoning remote code execution on the ansible controller
- CVE-2024-58381 — PocketMine-MP before 5.11.1 Denial of Service via LoginPacket
- CVE-2026-11363 — Ninja Forms <= 3.14.6 - Authenticated (Administrator+) PHP Object Injection via Form Import
- CVE-2026-87083 — tile-ai tilelang Kernel Cache kernel_cache.py KernelCache._load_kernel_from_disk deserialization
- CVE-2026-81385 — Microsoft Office Publisher Remote Code Execution Vulnerability
- CVE-2026-77484 — Microsoft SQL Server Remote Code Execution Vulnerability
- CVE-2026-65772 — Microsoft Dynamics 365 On-Premises Remote Code Execution Vulnerability