PYSEC-2025-9
Vulnerability from pysec - Published: 2025-03-20 10:15 - Updated: 2025-03-20 11:21
VLAI?
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 observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…