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.
Metrics
CVSS 3.0 4.3/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| mudler | mudler/localai | >= unspecified, < 2.17 |
| mudler | localai | < 2.17 |
References
- https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64bPatch
- https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120afExploit, Third Party Advisory
- https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64bPatch
- https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120afExploit, Third Party Advisory
Timeline
- Published
- Jul 6, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed