THREATPORT/VULNERABILITY/CVE-2024-12029
CRITICAL SEVERITY

CVE-2024-12029

CVE-2024-12029 vulnerability

CVSS
9.8
EPSS
5.3%
EPSS pct
92th
Exploited
No known
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 vendor
See references
Affected product
See references
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-502 — Deserialization of Untrusted Data
Published
2025-03-20

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 5.3% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 92% of all scored CVEs.

Check your external exposure to CVE-2024-12029

  • Confirm whether the affected software is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2024-12029.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2024-12029

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2024-12029 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2024-12029?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2024-12029.

Start free scan

No credit card. Agentless.