CVE-2024-6095
published medium CVSS 3.0 · 5.8SSRF and Partial LFI in /models/apply Endpoint in mudler/localai
Package status and fixes
Description
A vulnerability in the /models/apply endpoint of mudler/localai versions 2.15.0 allows for Server-Side Request Forgery (SSRF) and partial Local File Inclusion (LFI). The endpoint supports both http(s):// and file:// schemes, where the latter can lead to LFI. However, the output is limited due to the length of the error message. This vulnerability can be exploited by an attacker with network access to the LocalAI instance, potentially allowing unauthorized access to internal HTTP(s) servers and partial reading of local files. The issue is fixed in version 2.17.
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
- 5.8 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mudler | mudler/localai | unspecified to < 2.17 (affected · custom) | @huntr_ai · cna |
| mudler | localai | 2.15.0 to < 2.17.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
References
2Provider assertions
3@huntr_ai · cna
SSRF and Partial LFI in /models/apply Endpoint in mudler/localai
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c4b00495cffacdb9bea2f259a241d8bf54d0f9ffcb533b7ce649580bc4d827a6
- Ingested
- 23 Sep 2026, 08:33:03 UTC
- Source record
- Official CVE record