CVE-2024-6095
CVE-2024-6095 is a medium-severity vulnerability in Mudler Localai with a CVSS 3.x base score of 5.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-918.
Key facts
- Severity: Medium (CVSS 3.x base score 5.8)
- EPSS exploit prediction: 2% (83rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-47247
- Weakness: CWE-918
- Affected product: Mudler Localai
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-6095?
- 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.
- How severe is CVE-2024-6095?
- CVE-2024-6095 has a CVSS 3.x base score of 5.8, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
- Is CVE-2024-6095 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (83rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-6095?
- CVE-2024-6095 affects Mudler Localai. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-6095?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-6095 have an EU (EUVD) identifier?
- Yes. CVE-2024-6095 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-47247.
- When was CVE-2024-6095 published?
- CVE-2024-6095 was published on 2024-07-06 and last updated on 2026-06-17.
References
- https://github.com/mudler/localai/commit/2fc6fe806b903ac0a70218b21b5c84443a1b0866
- https://huntr.com/bounties/4799262d-72dc-43c8-bc99-81d0dce996dc
Affected products (1)
- cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*
More vulnerabilities in Mudler Localai
- CVE-2024-6868 — Critical (CVSS 9.8): mudler/LocalAI version 2.17.1 allows for arbitrary file write due to improper handling of automatic archive extraction.…
- CVE-2024-5181 — Critical (CVSS 9.8): A command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the…
- CVE-2024-2029 — Critical (CVSS 9.8): A command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically within the…
- CVE-2024-5182 — Critical (CVSS 9.1): A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model`…
- CVE-2024-6983 — High (CVSS 8.8): mudler/localai version 2.17.1 is vulnerable to remote code execution. The vulnerability arises because the localai…
- CVE-2024-3135 — Medium (CVSS 6.5): A Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft…
All CVEs affecting Mudler Localai →
Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities
- CVE-2026-47938 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) versions 7.4.3 build 9394 and earlier are affected by a Server-Side Request Forgery (SSRF)…
- CVE-2026-35431 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Microsoft Entra ID Entitlement Management allows an unauthorized attacker to…
- CVE-2026-32186 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Microsoft Bing allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-33107 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Azure Databricks allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-32871 — Critical (CVSS 10.0): FastMCP is a Pythonic way to build MCP servers and clients. Prior to version 3.2.0, the OpenAPIProvider in FastMCP…
- CVE-2026-32169 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Azure Cloud Shell allows an unauthorized attacker to elevate privileges over a…
Browse all CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities →