Live threats

All CVEs / Mudler

CVE-2024-3135Mudler Localai

Medium 6.5 No auth needed

Priority
54
CVSS 3.0
6.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 26
Auth required
No
Published
Apr 1, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

A Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft malicious webpages that, when visited by a victim, perform unauthorized actions on the victim's local LocalAI instance without their consent. This vulnerability enables attackers to exhaust system resources, consume credits, and fill disk space by making numerous resource-intensive API calls, such as generating images or uploading files. The vulnerability stems from the application's acceptance of simple request content-types without requiring CSRF tokens or implementing other CSRF mitigation measures. Successful exploitation does not require network access to the vulnerable LocalAI environment.

Original NVD text.

What to do

  1. Apply the vendor's security update for Localai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-skynet/LocalAI ≤ 2.7.0 no fixed version —
Go github.com/go-skynet/LocalAI all no fixed version —

Per OSV / GitHub Advisories (GHSA-jhvf-7c85-3c9g, GO-2024-2705). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mudlerlocalai< 2.17.0

Official sources

References

Links published by the sources. Open them with care.