Original 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.
Affected software
- LocalAI ≥ v4.6.0 ≤ v4.11.0 repository or package match
Details
- Published
- 2026-10-22
- Last modified
- 2026-10-22
- CVSS 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- CWE
- CWE-918
- EPSS (30-day exploit probability)
- 0.38% (percentile 33)
References
- cve.org/CVE-2026-114493
- nvd.nist.gov/vuln/detail/CVE-2026-114493
- github.com/mudler/LocalAI/pull/12791
- github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57
- github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212
- github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92
- www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redir...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.