LocalAI < 4.6.0 - Server-Side Request Forgery
LocalAI before 4.6.0 is affected by an unauthenticated server-side request forgery vulnerability in the POST /models/apply endpoint. The gallery `url` field is passed to the gallery config fetcher without validation, allowing an unauthenticated attacker to make the server issue HTTP requests to arbitrary internal, loopback, link-local, and cloud-metadata addresses. The outcome of the server-side fetch is reflected in the model-apply job status. References: https://github.com/mudler/LocalAI/issues/10665 https://github.com/mudler/LocalAI/commit/2cbb3c96b34d https://nvd.nist.gov/vuln/detail/CVE-2026-59707 Remediation: Upgrade to LocalAI 4.6.0 or later, which validates gallery config URLs and rejects requests to internal network addresses.
Used 20 times · 10 assets checked · domain, subdomain, ipv4