HighVulnerability
CVE-2024-12029: invoke-ai/invokeai remote code execution through /api/v2/models/install
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-12029
- Published
- Record updated
- Affected
- InvokeAI >= 5.3.1, < 5.4.3rc2
- Fixed in
- 5.4.3rc2
- released December 2, 2024, 107 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 6.0%
Summary
CVE-2024-12029 is a remote code execution vulnerability in invoke-ai/invokeai versions 5.3.1 through 5.4.2, reached via the /api/v2/models/install API. The flaw is unsafe deserialization of model files with torch.load without proper validation (CWE-502), so an attacker who embeds malicious code in a model file gets it executed when the file is loaded.
Mitigation
This issue is fixed in version 5.4.3.
Related items
- MediumResearchers Uncover Prompt Adware Hidden in OpenAI Codex Jailbreak ToolkitSimilar attack · The Hacker News
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- HighCVE-2026-118627: MLflow SHAP load_explainer untrusted deserialization enables code executionSimilar attack · NVD/CVE Database
- HighCVE-2026-118623: MLflow PickleEvaluationArtifact remote code execution via untrusted pickleSimilar attack · NVD/CVE Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSimilar attack · NVD/CVE Database