CSRF in Mudler Localai
CVE-2024-5616
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.003 (15.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 15.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Mudler Localai
- Mudler Mudler/localai — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af (Exploit, Third Party Advisory)
- github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b (Patch)
Frequently asked questions
- What is CVE-2024-5616?
- CVE-2024-5616 is a medium-severity vulnerability in Mudler Localai, classified under Cross-Site Request Forgery (CSRF). CVSS score: 4.3/10. Published 2024-07-06.
- How severe is CVE-2024-5616?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2024-5616 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.