nday
CVE-2024-6095

SSRF and Partial LFI in /models/apply Endpoint in mudler/localai

mudler / mudler/localai

Fecha de divulgación: . nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recoge 1 de las 4 fuentes de PoC: nuclei. No figura en el KEV de CISA.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

SSRF
CWE-918, stated by the CNA @huntr_ai y NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N (CVSS 3.0) from the CNA @huntr_ai
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N (CVSS 3.0) from the CNA @huntr_ai
no authentication required
PR:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N (CVSS 3.0) from the CNA @huntr_ai
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N (CVSS 3.0) from the CNA @huntr_ai
nuclei
nuclei templates CVE-2024-6095
etapa
POC
divulgación
cvss
5.8 MEDIUM v3.0

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2024-07-06T17:48Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
nuclei
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

CVSS 3.0 vector from the CVE record, scored by the CNA @huntr_ai.

Registro de eventos

+DISdivulgación

@huntr_ai publicó el registro CVE. CVSS 5.8, severidad media. La evaluación SSVC de CISA asigna a la explotación el valor poc.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 61439,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-6095",
  "occurred_at": "2024-07-06T17:48:46.735Z",
  "observed_at": "2026-11-12T18:01:52.55281Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N",
      "version": "3.0",
      "base_score": 5.8,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2024-07-07T19:17:19.197506Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2024-07-06T17:48:46.735Z",
    "assigner_short_name": "@huntr_ai"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Nuclei tiene la plantilla de detección CVE-2024-6095 (LocalAI - Partial Local File Read). La fuente no indica cuándo se publicó la plantilla.

fuente nuclei · nday , importación masiva · en bruto
{
  "id": 56496,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6095.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2024-6095",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6095.yaml",
    "kind": "detection_template",
    "title": "LocalAI - Partial Local File Read",
    "severity": "medium",
    "confidence": "curated",
    "cvss_score": "5.8",
    "template_id": "CVE-2024-6095",
    "template_path": "http/cves/2024/CVE-2024-6095.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.