CVE-2024-6095

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

MEDIUM
5.8
CVSS Score
Published: July 6, 2024 at 05:48 PM UTC
Updated: June 17, 2026 at 08:17 AM UTC
1 product affected across 1 vendorLocalai

Using mudler/localai by mudler?

Get instant alerts when new vulnerabilities affect mudler/localai - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.8
Exploit prediction
EPSS 3%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.172.15.0 ≤ v < 2.17.02.15.0
Affected range stops below 2.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.17.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-918

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card