{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-5616","published":"2024-07-06T09:15:02.050000Z","last_modified":"2026-06-17T08:16:17.830000Z","status":"Analyzed","cvss":{"version":"3.0","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"security@huntr.dev","primary":false},"auth":false,"cwes":["CWE-352"],"cpes":[{"criteria":"cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*","part":"a","vendor":"mudler","product":"localai","version_end_including":"2.15.0"}],"cpes_truncated":false,"vendors":["mudler"],"products":["mudler/localai"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00338,"percentile":0.19674,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2024-5616/","html_en":"/en/cve/CVE-2024-5616/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-5616","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-5616"},"untrusted":{"vendor_name":"Mudler","product_name":"Localai","desc_en":"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":[{"untrusted_vendor":"mudler","untrusted_product":"mudler/localai","versions":[]},{"untrusted_vendor":"mudler","untrusted_product":"localai","versions":[]}],"references":[{"url":"https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b","tags":["Patch"]},{"url":"https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af","tags":["Exploit","Third Party Advisory"]}]}}