CVE-2024-6095: mudler localai Server-Side Request Forgery (SSRF)
Vulnerability summary
CVE-2024-6095 is a medium (CVSS 5.8) Server-Side Request Forgery (SSRF) vulnerability in mudler localai. EPSS estimates a 2.65% chance of exploitation in the next 30 days, higher than 85.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 06-07-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST5.8MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS trend
Probability
2.65%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
0.00 pp
From 2.65% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Mudler2 products
- localai< 2.17.0
- mudler/localai≥ unspecified, < 2.17
1 vendor · 2 products