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.
CVE-2026-59707
Score 8.6 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-07. a secondary CVSS source baseline 8.6; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.6
- EG Score
- 8.6(high)
- EPSS
- 28.2%
- KEV
- Not listed
Published
July 7, 2026
Last Modified
July 10, 2026
Advisory Details (4)
Auto-updated Jul 7, 2026LocalAI - Server-Side Request Forgery via POST /models/apply | Advisories | VulnCheck
https://www.vulncheck.com/advisories/localai-server-side-request-forgery-via-post-models-applyUnauthenticated SSRF in POST /models/apply · Issue #10665 · mudler/LocalAI · GitHub
https://github.com/mudler/LocalAI/issues/10665commit f9b968e19d7c (mudler/LocalAI)
Fix landed in mudler/LocalAI commit f9b968e19d7c — awaiting tagged release
https://github.com/mudler/LocalAI/commit/f9b968e19d7cbc556d59dceb2e0e450b828a3fdaGitHub - mudler/LocalAI: LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required. · GitHub
https://github.com/mudler/LocalAIVendor Advisories for CVE-2026-59707(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 40× in last 7d / 40× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-14 10:49 UTCEG score recompute
- 2026-07-14 10:49 UTCGHSA enrichment
- 2026-07-13 23:31 UTCEG score recompute
- 2026-07-13 23:31 UTCGHSA enrichment
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 12:16 UTCEG score recompute
- 2026-07-13 12:16 UTCGHSA enrichment
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 00:58 UTCEG score recompute
- 2026-07-13 00:58 UTCGHSA enrichment
- 2026-07-12 13:42 UTCEG score recompute
- 2026-07-12 13:42 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 02:25 UTCEG score recompute
- 2026-07-12 02:25 UTCGHSA enrichment
- 2026-07-11 15:10 UTCEG score recompute
- 2026-07-11 15:09 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 03:52 UTCEG score recompute
- 2026-07-11 03:52 UTCGHSA enrichment
- 2026-07-10 16:37 UTCEG score recompute
- 2026-07-10 16:37 UTCGHSA enrichment
- 2026-07-10 05:22 UTCEG score recompute
Show 15 moreShow fewer
- 2026-07-10 05:21 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 18:06 UTCEG score recompute
- 2026-07-09 18:06 UTCGHSA enrichment
- 2026-07-09 06:50 UTCEG score recompute
- 2026-07-09 06:50 UTCGHSA enrichment
- 2026-07-08 19:35 UTCEG score recompute
- 2026-07-08 19:35 UTCGHSA enrichment
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 08:20 UTCEG score recompute
- 2026-07-08 08:19 UTCGHSA enrichment
- 2026-07-07 21:03 UTCEG score recompute
- 2026-07-07 21:01 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-918
Frequently asked(5)
What is CVE-2026-59707?
When was CVE-2026-59707 disclosed?
Is CVE-2026-59707 actively exploited?
What is the CVSS score of CVE-2026-59707?
How do I remediate CVE-2026-59707?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59707
Is Your Infrastructure Affected by CVE-2026-59707?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.