PT-2024-36727 · Mudler · Localai

Published

2024-07-06

·

Updated

2025-07-15

·

CVE-2024-5616

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions mudler/LocalAI versions up to and including 2.15.0
Description A Cross-Site Request Forgery (CSRF) vulnerability exists, allowing attackers to trick victims into deleting installed models by crafting a malicious HTML page. This can cause the deletion of a model, such as gpt-4-vision-preview, without the victim's consent. The issue is due to insufficient CSRF protection mechanisms on the model deletion functionality.
Recommendations For mudler/LocalAI versions up to and including 2.15.0, consider disabling the model deletion functionality until a patch is available to prevent exploitation. Restrict access to the model deletion API endpoint to minimize the risk of exploitation. Avoid using the model deletion feature until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

CSRF

Weakness Enumeration

Related Identifiers

CVE-2024-5616

Affected Products

Localai