CVE-2024-3135
CVE-2024-3135 is a medium-severity vulnerability in Mudler Localai with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-352.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (21st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-1234
- Weakness: CWE-352
- Affected product: Mudler Localai
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-3135?
- 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.
- How severe is CVE-2024-3135?
- CVE-2024-3135 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-3135 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (21st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-3135?
- CVE-2024-3135 affects Mudler Localai. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-3135?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-3135 have an EU (EUVD) identifier?
- Yes. CVE-2024-3135 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1234.
- When was CVE-2024-3135 published?
- CVE-2024-3135 was published on 2024-04-01 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*
More vulnerabilities in Mudler Localai
- CVE-2024-6868 — Critical (CVSS 9.8): mudler/LocalAI version 2.17.1 allows for arbitrary file write due to improper handling of automatic archive extraction.…
- CVE-2024-5181 — Critical (CVSS 9.8): A command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the…
- CVE-2024-2029 — Critical (CVSS 9.8): A command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically within the…
- CVE-2024-5182 — Critical (CVSS 9.1): A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model`…
- CVE-2024-6983 — High (CVSS 8.8): mudler/localai version 2.17.1 is vulnerable to remote code execution. The vulnerability arises because the localai…
- CVE-2024-9900 — Medium (CVSS 6.1): mudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The…
All CVEs affecting Mudler Localai →
Other CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities
- CVE-2025-32642 — Critical (CVSS 10.0): Cross-Site Request Forgery (CSRF) vulnerability in appsbd Vite Coupon vite-coupon allows Remote Code Inclusion.This…
- CVE-2025-23922 — Critical (CVSS 10.0): Cross-Site Request Forgery (CSRF) vulnerability in Harsh iSpring Embedder embed-ispring allows Upload a Web Shell to a…
- CVE-2017-5145 — Critical (CVSS 10.0): An issue was discovered in Carlo Gavazzi VMU-C EM prior to firmware Version A11_U05, and VMU-C PV prior to firmware…
- CVE-2019-25729 — Critical (CVSS 9.8): PDF Signer 3.0 contains a server-side template injection vulnerability that allows unauthenticated attackers to execute…
- CVE-2025-48340 — Critical (CVSS 9.8): Cross-Site Request Forgery (CSRF) vulnerability in Danny Vink User Profile Meta Manager user-profile-meta allows…
- CVE-2025-2907 — Critical (CVSS 9.8): The Order Delivery Date WordPress plugin before 12.3.1 does not have authorization and CSRF checks when importing…
Browse all CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities →