{"id":"CVE-2026-114493","published":"2026-10-21T18:17:28.120","lastModified":"2026-10-22T17:39:56.760","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.","cvssScore":8.6,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","cwes":["CWE-918"],"vendors":[],"products":[],"references":[{"url":"https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57","tags":[]},{"url":"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212","tags":[]},{"url":"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92","tags":[]},{"url":"https://github.com/mudler/LocalAI/pull/12791","tags":[]},{"url":"https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects","tags":[]}],"exploitRefs":[{"url":"https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57","tags":[]},{"url":"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212","tags":[]},{"url":"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92","tags":[]},{"url":"https://github.com/mudler/LocalAI/pull/12791","tags":[]}],"hasPoc":true,"ai":null}