Description
LocalAI v4.6.0 through v4.11.0 contains a server-side request forgery vulnerability in core/gallery/gallery.go that validates only the initial gallery config URL. Attackers can submit a config URL through POST /models/apply that redirects to internal or cloud metadata addresses, receiving those internal responses as gallery content.
Published: 2026-10-21
Score: 9.2 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Sensitive data exposure via SSRF
Action: Immediate Patch
AI Analysis

Impact

LocalAI versions 4.6.0 through 4.11.0 contain a server‑side request forgery vulnerability where the gallery configuration endpoint accepts a POST with a configuration URL and validates only the first location. When the URL redirects, the redirect target is fetched and its content is returned to the requester, bypassing the SSRF guard. The consequence is that an attacker can cause the application to send requests to internal or cloud metadata services and read their responses, exposing sensitive system data and potentially credentials.

Affected Systems

The vulnerability is present in the LocalAI:LocalAI application. All releases from 4.6.0 up to and including 4.11.0 are affected.

Risk and Exploitability

The CVSS score of 9.2 reflects a high‑risk. EPSS is not available and the vulnerability is not currently listed in the CISA KEV catalog, but the lack of monitoring does not diminish exploitation potential. Attackers can exploit the flaw remotely by sending a crafted POST request to the /models/apply endpoint. The exploitable target must be reachable by the LocalAI host, meaning that systems exposed to untrusted input through that endpoint are at risk of internal data disclosure.

Generated by OpenCVE AI on October 22, 2026 at 04:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a LocalAI release after 4.11.0 that fixes the SSRF guard bypass
  • If an upgrade is not possible, block or filter traffic to known internal or cloud metadata URLs in the host firewall or reverse proxy so that redirect responses cannot reach the application
  • Validate the gallery configuration URL before accepting it, rejecting any URL that redirects to an internal or cloud metadata service

Generated by OpenCVE AI on October 22, 2026 at 04:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Description LocalAI v4.6.0 through v4.11.0 contains a server-side request forgery vulnerability in core/gallery/gallery.go that validates only the initial gallery config URL. Attackers can submit a config URL through POST /models/apply that redirects to internal or cloud metadata addresses, receiving those internal responses as gallery content.
Title LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects
First Time appeared Mudler
Mudler localai
Weaknesses CWE-918
CPEs cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*
Vendors & Products Mudler
Mudler localai
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T19:50:15.052Z

Reserved: 2026-10-21T16:00:26.729Z

Link: CVE-2026-114493

cve-icon Vulnrichment

Updated: 2026-10-21T19:50:12.262Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T18:17:28.120

Modified: 2026-10-22T17:39:56.760

Link: CVE-2026-114493

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T07:45:01Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)