{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-5616","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 t","descriptionLong":"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.","published":"2024-07-06T08:38:02.339Z","updated":"2026-10-28T02:30:31.924045171Z","reserved":"2024-06-04T02:49:35.920Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"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","rating":"medium","source":"@huntr_ai"},"metrics":[{"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","rating":"medium","source":"@huntr_ai"},{"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","rating":"medium","source":"huntr.dev"},{"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","rating":"medium","source":"OSV"}],"rating":"medium","products":["mudler/localai"],"affectedProducts":[{"vendor":"mudler","product":"mudler/localai","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"2.17","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-352"],"aliases":[],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5616.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5616","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00242,"epssPercentile":0.15533,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-5616","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5616","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-5616","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-5616","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}