← Back to browse · API

CVE-2024-12029

Severity
CRITICAL
CVSS
9.8
EPSS
0.05342
Risk score
41.07
CISA KEV
No
PoC
No
Published
2025-03-20
Modified
2025-03-20
First seen
2026-08-07
Aliases
EUVD-2025-7245, GHSA-MCRP-WHPW-JP68, PYSEC-2025-9
Products
invoke-ai:invoke-ai/invokeai unspecified <5.4.3
Sources
euvd EUVD-2025-7245

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.

References