CVE-2024-5616: mudler/LocalAI - Cross-Site Request Forgery
- Cve: CVE-2024-5616
- Name: mudler/LocalAI - Cross-Site Request Forgery
- 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.
- Impact: Attackers can cause unauthorized deletion of models, potentially disrupting service or causing data loss.
- Remediation: Implement proper CSRF protection mechanisms and update to the latest version.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Victim must load a malicious page crafted by attacker
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- Epss score: 0.00254
- Epss percentile: 0.1708
- Assignee: [email protected]
- Published at: 2024-07-06T09:15:02Z
- Age in days: 871
- Modified at: 2026-06-17T08:16:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5616
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af | nvd | 2024-07-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b | nvd | Patch |
| https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mudler:localai | <= 2.15.0 | no | nvd | /v1/products/mudler/localai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mudler/localai | commit | yes | /v1/repositories/mudler/localai |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-07-06
- Remote: yes
- Exposed hosts: 4
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports