CVE-2024-3135
published medium CVSS 3.0 · 6.5Cross-Site Request Forgery (CSRF) Vulnerability in mudler/localai
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mudler | mudler/localai | unspecified through latest (affected · custom) | @huntr_ai · cna |
| mudler | localai | 0 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-352 CWE-352 Cross-Site Request Forgery (CSRF)
References
1Provider assertions
3@huntr_ai · cna
Cross-Site Request Forgery (CSRF) Vulnerability in mudler/localai
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8138ae9484b36165a07f47780f9e6a9b2fc70acf7fc5e5cf6b55a203e81968db
- Ingested
- 23 Sep 2026, 08:25:33 UTC
- Source record
- Official CVE record