← Back to CVE List
CVE-2026-114493NVD
Vulnerability 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.
CVSS v4.0 Base Metrics — Score 9.2 (CRITICAL)
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)High
Integrity (Subsequent System)None
Availability (Subsequent System)None
CVSS v3.1 Base Metrics — Score 8.6 (HIGH)
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- LocalAI LocalAI >= v4.6.0 and <= v4.11.0
- LocalAI LocalAI v4.11.0
External References
- https://github.com/mudler/LocalAI/pull/12791
- https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57
- https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212
- https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92
- https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects