CVE-2024-5616 CSRF Vulnerability in mudler/LocalAI
MediumCVSS 4.3
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| mudler/localai | < 2.17 | 2.17 |
| mudler github.com/mudler/LocalAI | < 2.17 | 2.17 |
| mudler github.com/mudler/LocalAI | <= 2.15.0 | No fix listed |
References
- huntr.com exploit third-party-advisory
- github.com patch