← Vulnerability feed

Vulnerability record · CVE-2024-3135 · published 1 April 2024

CVE-2024-3135: Mudler localai cross-site request forgery vulnerability

Mudler · Localai

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.

6.5 CVSS 3.0 Medium EPSS 0.31% · top 78.4% CWE-352 · Cross-site request forgery
6.5CVSS 3.0 base score
0.31%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-3135 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-6868Mudler localai link following vulnerabilitymudler/LocalAI version 2.17.1 allows for arbitrary file write due to improper handling of automatic archive extraction. When model configurations spe…EPSS 1.5%9.8CVE-2024-5181Mudler localai os command injection vulnerabilityA command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the application's handling of the backen…EPSS 2.7%9.8CVE-2024-2029Mudler localai os command injection vulnerabilityA command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically within the `audioToWav` function used for conver…EPSS 2.9%9.1CVE-2024-5182Mudler localai path traversal vulnerabilityA path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion…EPSS 26%8.8CVE-2024-6983Mudler localai code injection vulnerabilitymudler/localai version 2.17.1 is vulnerable to remote code execution. The vulnerability arises because the localai backend receives inputs not only f…EPSS 1.3%6.1CVE-2024-9900Mudler localai cross-site scripting vulnerabilitymudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The vulnerability arises due to impro…EPSS 0.54%6.1CVE-2024-48057Mudler localai cross-site scripting vulnerabilitylocalai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a …EPSS 0.25%5.9CVE-2024-7010Mudler localai observable discrepancy vulnerabilitymudler/localai version 2.17.1 is vulnerable to a Timing Attack. This type of side-channel attack allows an attacker to compromise the cryptosystem by…EPSS 0.52%

Source: NIST National Vulnerability Database (record CVE-2024-3135), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.