> CVE-2024-3135 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2024-04-01 19:15
MODIFIED
2025-06-27 15:58
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.30%
Top 77.1%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-04 OSV 🔗 2026-07-26

> DESCRIPTION

A Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft malicious webpages that, when visited by a victim, perform unauthorized actions on the victim's local LocalAI instance without their consent. This vulnerability enables attackers to exhaust system resources, consume credits, and fill disk space by making numerous resource-intensive API calls, such as generating images or uploading files. The vulnerability stems from the application's acceptance of simple request content-types without requiring CSRF tokens or implementing other CSRF mitigation measures. Successful exploitation does not require network access to the vulnerable LocalAI environment.

> AFFECTED_PRODUCTS

Mudler - Localai
< 2.17.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-jhvf-7c85-3c9g MODERATE

LocalAI cross-site request forgery vulnerability

AFFECTED PACKAGES:
GO / github.com/go-skynet/LocalAI
<= 2.7.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Cross-Site Request Forgery (CSRF) Vulnerability in mudler/localai

AFFECTED PACKAGES:
Unknown / Unknown
88 versions affected
ALIASES:
GHSA-jhvf-7c85-3c9g, GO-2024-2705

> HISTORIQUE DES MODIFICATIONS

Première apparition
01/04/2024 19:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:49
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME