Live threats

All CVEs / invoke-ai

CVE-2024-12029invoke-ai/invokeai

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
5.7%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Mar 20, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for invoke-ai/invokeai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI invokeai ≥ 5.3.1 < 5.4.3rc2 5.4.3rc2 pip install "invokeai>=5.4.3rc2"
PyPI invokeai ≥ 5.3.1 < 5.4.3rc1 5.4.3rc1 pip install "invokeai>=5.4.3rc1"

Per OSV / GitHub Advisories (GHSA-mcrp-whpw-jp68, PYSEC-2025-9). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.