AploSec / Disclosures / CVE-2026-114493
LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects
CVE-2026-114493 · published 2026-10-21
In plain words: this type of bug lets someone trick the server into making requests to places it should not reach (server-side request forgery, SSRF). No fixed release is listed yet.
Summary
CVE-2026-114493 affects LocalAI (Go) v4.6.0 through v4.11.0: SSRF guard bypass via redirects (CWE-918). No fixed release is listed. CVSS 4.0 base score 9.2 (Critical), assigned by VulnCheck. Published 2026-10-21 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects
- Fix pull requesthttps://github.com/mudler/LocalAI/pull/12791
- Vulnerable codehttps://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57
- Vulnerable codehttps://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212
- Vulnerable codehttps://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-114493
- Severity
- Critical 9.2CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- LocalAI
- Ecosystem
- Go
- Affected
- v4.6.0 through v4.11.0
- Fixed
- None
- Weakness
- CWE-918
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder