Security mailing lists by PureSourceCode

CVE-2024-12029

CRITICAL 9.8CVSS 3.0

InvokeAI Deserialization of Untrusted Data vulnerability

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.

Published
20 Mar 2025
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Deferred
Weakness
CWE-502
Also known as
GHSA-mcrp-whpw-jp68PYSEC-2025-9
Sources
NVDJSONOSV GHSA-mcrp-whpw-jp68JSONOSV PYSEC-2025-9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI invokeai >= 5.3.1, < 5.4.3rc2 5.4.3rc2
OSV PyPI invokeai >= 5.3.1, < 5.4.3rc1 5.4.3rc1

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Mar 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.