LocalAI contains an unauthenticated server-side request forgery vulnerability in the POST /models/apply endpoint that allows attackers to fetch arbitrary internal URLs.
CVSS 4.0CRITICAL 9.2·Network·No auth·No interaction·EPSS 0.01383·Published 2026-07-07·Fixed in 1.40.1-0.20260703213242-2cbb3c96b34dCWE-918
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.