Read the docs
TI-2024-02935 Aliases CVE-2024-3135GHSA-jhvf-7c85-3c9g

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

Priority MEDIUM 62CWE-352Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Tampering
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00314 24th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mudlermudler/localaiup to latest—No fix listedCNA
—github.com/go-skynet/LocalAI (Go)up to 2.7.0—No fix listedGHSA-jhvf-7c85-3c9g
  • mudler/localai Vendormudler Affected up to latest Fixed in — No fix listed CNA
  • github.com/go-skynet/LocalAI (Go) Vendor— Affected up to 2.7.0 Fixed in — No fix listed GHSA-jhvf-7c85-3c9g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*before 2.17.0Vulnerablemudler
  • cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:* Versions before 2.17.0 Vulnerable ·mudler

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-3135
  2. 2026-10-03 Alias added: GHSA-jhvf-7c85-3c9g

References

  • TI-2024-04809 Command Injection in mudler/localai CVSS 3.0CRITICAL 9.8
  • TI-2024-01889 Command Injection in mudler/localai CVSS 3.0CRITICAL 9.8
  • TI-2024-04810 Path Traversal in mudler/localai CVSS 3.1CRITICAL 9.1
  • TI-2024-06369 Arbitrary File Write in mudler/LocalAI CVSS 3.1CRITICAL 9.8
  • TI-2024-06481 Remote Code Execution in mudler/localai CVSS 3.0HIGH 8.8
  • TI-2024-06505 Timing Attack in mudler/localai CVSS 3.1MEDIUM 5.9
See all 10 →

Sources