ADVISORIES

Vulnerability

CVE-2026-59707

LocalAI contains an unauthenticated server-side request forgery vulnerability in the POST /models/apply endpoint that allows attackers to fetch arbitrary internal URLs. The endpoint passes unsanitized gallery URL fields directly to gallery.GetGalleryConfigFromURLWithContext without proper validation, enabling attackers to force the server to issue HTTP GET requests to private and loopback ranges with partial response content leaked through error messages.

4 advisories report this vulnerability, across 3 ecosystems.

Critical severity All Go 2SUSE 1openSUSE 1

Advisories

  • GHSA-8c5q-hx4g-qq23

    LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs

    Critical CVE-2026-59707 Go Updated 7 October 2026
  • GO-2026-6645

    LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs in github.com/mudler/LocalAI

    CVE-2026-59707 Go Updated 7 October 2026
  • SUSE-SU-2026:24730-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2026-100347CVE-2026-100348CVE-2026-100349CVE-2026-100350 SUSE Updated 17 November 2026
  • openSUSE-SU-2026:22336-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2026-100347CVE-2026-100348CVE-2026-100349CVE-2026-100350 openSUSE Updated 18 November 2026

References