VULNERABILITY INTELLIGENCE
CVE-2024-6095
CVSS score5.8 MEDIUM
EPSS probability2.65%
CISA KEVNot currently listed
Published2024-07-06
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
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.
Weakness classification
- CWE-918: Server-Side Request Forgery (SSRF)
Primary references
- security@huntr.dev — Patch
- security@huntr.dev — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory