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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 7
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-22 17:39
- StatusReceived → PublishedNVD modified 2026-10-21 19:50
- StatusPublished → ReceivedNVD modified 2026-10-21 20:17
- StatusReceived → PublishedNVD modified 2026-10-21 17:54
- StatusPublished → ReceivedNVD modified 2026-10-21 18:17
- CVSS9.2 (v4.0, 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) → 9.2 (v4.0, 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)NVD modified 2026-10-21 18:17
- First seenCVSS 9.2 · localaiNVD modified 2026-10-21 17:54
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 5
- 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://github.com/mudler/LocalAI/pull/12791
- https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects