{"id":"CVE-2026-114493","summary":"LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects","details":"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.","modified":"2026-10-22T10:30:58.774195572Z","published":"2026-10-21T17:54:17.584Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114493.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114493.json"},{"type":"PACKAGE","url":"https://github.com/mudler/LocalAI"},{"type":"ARTICLE","url":"https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57"},{"type":"ARTICLE","url":"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212"},{"type":"ARTICLE","url":"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92"},{"type":"FIX","url":"https://github.com/mudler/LocalAI/pull/12791"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114493"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mudler/localai","events":[{"introduced":"38350d363e8ee05872cad1cc3a0311fe55bf5b8b"},{"last_affected":"58830f7ac508845a6f4efa32cfca06af422d4d82"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"v4.6.0"},{"last_affected":"v4.11.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v4.11.0","v4.10.0","v4.9.0","v4.8.2","v4.8.1","v4.8.0","v4.7.1","v4.7.0","v4.6.2","v4.6.1","v4.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114493.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}