CVE-2024-6095

MEDIUM NUCLEI

Mudler Localai < 2.17.0 - SSRF

Title source: rule

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.

Exploits (1)

nomisec WORKING POC
by Abdurahmon3236 · poc
https://github.com/Abdurahmon3236/-CVE-2024-6095

Nuclei Templates (1)

LocalAI - Partial Local File Read
MEDIUMVERIFIEDby iamnoooob,pdresearch,rootxharsh
Shodan: http.favicon.hash:-976853304

Scores

CVSS v3 5.8
EPSS 0.8921
EPSS Percentile 99.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Details

CWE
CWE-918
Status published
Products (1)
mudler/localai < 2.17.0
Published Jul 06, 2024
Tracked Since Feb 18, 2026