HIGH8.6
GO-2026-6645
LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs in github.com/mudler/LocalAI
Quick fix
GO-2026-6645 — github.com/mudler/LocalAI: upgrade to the fixed version with the command below.
go get github.com/mudler/LocalAI@v1.40.1-0.20260703213242-2cbb3c96b34dDetails
LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs in github.com/mudler/LocalAI
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mudler/LocalAI
Introduced in:
0Fixed in: 1.40.1-0.20260703213242-2cbb3c96b34dFix
go get github.com/mudler/LocalAI@v1.40.1-0.20260703213242-2cbb3c96b34dReferences
- https://github.com/advisories/GHSA-8c5q-hx4g-qq23[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-59707[ADVISORY]
- https://github.com/mudler/LocalAI/commit/f9b968e19d7cbc556d59dceb2e0e450b828a3fda[FIX]
- https://github.com/mudler/LocalAI/issues/10665[REPORT]
- https://www.vulncheck.com/advisories/localai-server-side-request-forgery-via-post-models-apply[WEB]