A Cross-Site Request Forgery (CSRF) vulnerability exists in mudler/LocalAI versions up to and including 2.15.0, which allows attackers to trick victims into deleting installed models. By crafting a malicious HTML page, an attacker can cause the deletion of a model, such as 'gpt-4-vision-preview', without the victim's consent. The vulnerability is due to insufficient CSRF protection mechanisms on the model deletion functionality.
References
Link | Resource |
---|---|
https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b | Patch |
https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af | Exploit Third Party Advisory |
https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b | Patch |
https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af | Exploit Third Party Advisory |
Configurations
History
15 Jul 2025, 13:24
Type | Values Removed | Values Added |
---|---|---|
First Time |
Mudler localai
Mudler |
|
CPE | cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:* | |
References | () https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b - Patch | |
References | () https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af - Exploit, Third Party Advisory |
21 Nov 2024, 09:48
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b - | |
References | () https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af - |
08 Jul 2024, 15:49
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
06 Jul 2024, 09:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-07-06 09:15
Updated : 2025-07-15 13:24
NVD link : CVE-2024-5616
Mitre link : CVE-2024-5616
CVE.ORG link : CVE-2024-5616
JSON object : View
Products Affected
mudler
- localai
CWE
CWE-352
Cross-Site Request Forgery (CSRF)