Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-5616 EUVD-2024-46799GHSA-chxg-pjh8-j2r6

CSRF Vulnerability in mudler/LocalAI

Published Jul 6, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

Description

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.

Affected products

VendorProductAffectedFixed
mudler mudler/localai unspecified – < 2.17 2.17

References