What’s Vulnerable › Vulnerabilities
CVE-2024-5616: CSRF Vulnerability in mudler/LocalAI
- Severity: medium (CVSS 4.3 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-07-06 · updated 2026-06-17
- Weakness: CWE-352
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
- mudler/localai: through 2.15.0
References
- https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b
- https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af
- https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b
- https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af
Get alerted when CVE-2024-5616 or the next vulnerability affects your stack