Paper/Archive/CVE-2026-114493

CVE-2026-114493

LocalAI LocalAI — LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
LocalAIv4.6.0 – v4.11.0–CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
VulnCheck (CNA)8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

patchgithub.com/mudler/LocalAI/pull/12791writeupgithub.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57writeupgithub.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212writeupgithub.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92writeupvulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects