{"id":"CVE-2024-5616","aliases":["EUVD-2024-46799","GHSA-chxg-pjh8-j2r6"],"status":"published","title":"CSRF Vulnerability in mudler/LocalAI","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.","severity":{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00254,"percentile":0.1711,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352"],"published":"2024-07-06T08:38:02Z","modified":"2026-10-28T02:30:31Z","products":[{"vendor":"mudler","product":"localai"},{"vendor":"mudler","product":"mudler/localai"}],"references":[{"url":"https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b","tags":["x_transferred","Patch","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5616","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-chxg-pjh8-j2r6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5616.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-5616","title":"CSRF Vulnerability in mudler/LocalAI","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.","status":"published","published":"2024-07-06T08:38:02.339Z","modified":"2024-08-01T21:18:06.438Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:34:01.630882Z"}],"euvd":[{"id":"EUVD-2024-46799","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.","status":"published","published":"2024-07-06T08:38:02Z","modified":"2024-08-01T21:18:06Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T03:50:34.09192Z"}],"ghsa":[{"id":"GHSA-chxg-pjh8-j2r6","title":"A Cross-Site Request Forgery (CSRF) vulnerability exists in mudler/LocalAI versions up to and...","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.","status":"published","published":"2024-07-06T09:31:11Z","modified":"2024-07-06T09:31:11Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:57:38.695929Z"}],"nvd":[{"id":"CVE-2024-5616","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.","status":"published","published":"2024-07-06T09:15:02.05Z","modified":"2026-06-17T08:16:17.83Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:10:10.545705Z"}],"osv":[{"id":"CVE-2024-5616","title":"CSRF Vulnerability in mudler/LocalAI","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.","status":"published","published":"2024-07-06T08:38:02.339Z","modified":"2026-10-28T02:30:31.924045171Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:44:44.777182Z"}]}}
