nday
CVE-2024-6095

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

mudler / mudler/localai

Divulgation : . nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : nuclei. Aucune inscription au catalogue KEV de la CISA à ce jour.

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 et 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
étape actuelle
POC
divulgation
CVSS
5.8 MEDIUM v3.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2024-07-06T17:48Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
nuclei
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par @huntr_ai. CVSS 5.8, gravité moyenne. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Nuclei propose le modèle de détection CVE-2024-6095 (« LocalAI - Partial Local File Read »). La source n’indique pas la date de publication du modèle.

source nuclei · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.