Vulnerability

CVE-2024-12029

criticalCVSS 3.0 9.8Published 20 Mar 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /invoke-ai/invokeai/commit/756008dc5899081c5aa51e5bd8f24c1b…
  • huntr.com /bounties/9b790f94-1b1b-4071-bc27-78445d1a87a3

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning