Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
LocalAI's POST /models/apply endpoint, in the Go module github.com/mudler/LocalAI, is affected in versions before 1.40.1-0.20260703213242-2cbb3c96b34d, which is also the fixed version. An unauthenticated attacker can make the server send HTTP GET requests to private and loopback addresses through gallery URL fields, and parts of the responses can leak back in error messages. Upgrade to 1.40.1-0.20260703213242-2cbb3c96b34d or later. No workaround is listed.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.2 | Critical | 4.0 | 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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.014, the 72nd percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:12 UTC First seen by agentprime
- 31 Oct 2026, 14:12 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-8c5q-hx4g-qq23
- OSV: GHSA-8c5q-hx4g-qq23
- nvd.nist.gov/vuln/detail/CVE-2026-59707
- github.com/mudler/LocalAI/issues/10665
- github.com/mudler/LocalAI/commit/f9b968e19d7cbc556d59dceb2e0e450b828a3fda
- github.com/mudler/LocalAI
- www.vulncheck.com/advisories/localai-server-side-request-forgery-via-post-models-apply