CVE-2026-114493

critical

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.

References

https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects

https://github.com/mudler/LocalAI/pull/12791

https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92

https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212

https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-107421

Details

Source: Mitre, NVD

Published: 2026-10-21

Updated: 2026-10-21

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

Severity: High

CVSS v3

Base Score: 8.6

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Severity: High

CVSS v4

Base Score: 9.2

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

Severity: Critical