Read the docs
TI-2024-32254 Aliases CVE-2024-48057GHSA-ghx4-cgxw-7h9p

localai <=2.20.1 is vulnerable to Cross Site Scripting (XSS).

Priority MEDIUM 60CWE-352Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Tampering, Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-352 and CWE-79.

Summary

localai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a one-time storage XSS, which will trigger the payload when a user accesses the homepage.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00235 14th 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
——all versions—No fix listedCNA
—github.com/mudler/LocalAI (Go)up to 2.20.1—No fix listedGHSA-ghx4-cgxw-7h9p
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • github.com/mudler/LocalAI (Go) Vendor— Affected up to 2.20.1 Fixed in — No fix listed GHSA-ghx4-cgxw-7h9p

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*up to 2.20.1Vulnerablemudler
  • cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:* Versions up to 2.20.1 Vulnerable ·mudler

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-48057
  2. 2026-10-03 Alias added: GHSA-ghx4-cgxw-7h9p

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