Home / LocalAI / LocalAI / CVE-2026-59707
CVE-2026-59707: is it exploited, and which versions of LocalAI are affected and fixed?
CVE-2026-59707 is a server-side request forgery (SSRF) vulnerability in LocalAI. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: github.com/mudler/LocalAI before 1.40.1-0.20260703213242-2cbb3c96b34d (GitHub advisory GHSA-8c5q-hx4g-qq23). Fixed in 1.40.1-0.20260703213242-2cbb3c96b34d (GitHub advisory GHSA-8c5q-hx4g-qq23). Severity: Critical (9.2, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-59707?
LocalAI - Server-Side Request Forgery via POST /models/apply
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.
From the CVE record by VulnCheck, last updated September 24, 2026, 14:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| LocalAI | LocalAI | through v4.3.1 |
As the CVE record by VulnCheck states it, last updated September 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/mudler/LocalAI | < 1.40.1-0.20260703213242-2cbb3c96b34d | 1.40.1-0.20260703213242-2cbb3c96b34d | GHSA-8c5q-hx4g-qq23 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 2, 2026. Summary: LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs.
How severe is CVE-2026-59707?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 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 | VulnCheck |
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59707 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, July 8, 2026)
- EPSS
- 1.59% probability of exploitation activity in the next 30 days, percentile 76.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-918 Server-Side Request Forgery
Where are the vendor advisories and references?
- GitHub Issue issue-tracking
- Product product
- Patch Commit patch
- https://www.vulncheck.com/advisories/localai-server-side-request-forgery-via-post-models-apply third-party-advisory
Who found and reported it?
- George Chen (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 6, 2026
- Published
- July 7, 2026, 20:37 UTC
- CVE record updated
- September 24, 2026, 14:18 UTC by VulnCheck
- NVD
- Deferred, last modified October 25, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect LocalAI?
- Oct 21, 2026CVE-2026-114493 LocalAI: server-side request forgery (SSRF)
Questions about CVE-2026-59707
Is CVE-2026-59707 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.59% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of LocalAI are affected by CVE-2026-59707?
github.com/mudler/LocalAI before 1.40.1-0.20260703213242-2cbb3c96b34d, per the GitHub advisory GHSA-8c5q-hx4g-qq23. The tables above give every range the sources list.
Which version fixes CVE-2026-59707?
1.40.1-0.20260703213242-2cbb3c96b34d, per the GitHub advisory GHSA-8c5q-hx4g-qq23. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59707?
Critical (9.2, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59707?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.