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
Summary
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 with a proof of concept that reproduced against the affected release.
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
- Package
- LocalAI
- Ecosystem
- Go
- Weekly downloads
- n/a
- Affected
- v4.6.0 through v4.11.0
- Fixed
- None
- Weakness
- CWE-918
- CNA
- VulnCheck
- Credit
- Zachariah Mithani