pysec-2025-9
Vulnerability from pysec
Published
2025-03-20 10:15
Modified
2025-03-20 11:21
Details
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.
Impacted products
Name | purl | invokeai | pkg:pypi/invokeai |
---|
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "invokeai", "purl": "pkg:pypi/invokeai" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "756008dc5899081c5aa51e5bd8f24c1b3975a59e" } ], "repo": "https://github.com/invoke-ai/invokeai", "type": "GIT" }, { "events": [ { "introduced": "5.3.1" }, { "fixed": "5.4.3rc1" } ], "type": "ECOSYSTEM" } ], "versions": [ "5.3.1", "5.4.0", "5.4.1", "5.4.1rc1", "5.4.1rc2", "5.4.2", "5.4.2rc1" ] } ], "aliases": [ "CVE-2024-12029" ], "details": "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.", "id": "PYSEC-2025-9", "modified": "2025-03-20T11:21:37.872971+00:00", "published": "2025-03-20T10:15:26+00:00", "references": [ { "type": "FIX", "url": "https://github.com/invoke-ai/invokeai/commit/756008dc5899081c5aa51e5bd8f24c1b3975a59e" }, { "type": "WEB", "url": "https://huntr.com/bounties/9b790f94-1b1b-4071-bc27-78445d1a87a3" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.