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. the CNA's CVSS 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)
- EG Risk
- 70(Attend)EG Risk 70/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity86% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 0%
- EPSS %ILE
- 29%
- KEV
- Not listed
Published
July 7, 2026
Last Modified
July 20, 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 18× in last 7d / 57× 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-26 23:54 UTCEG score recompute
- 2026-07-26 23:54 UTCGHSA enrichment
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 12:35 UTCEG score recompute
- 2026-07-26 12:35 UTCGHSA enrichment
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 19:32 UTCGHSA enrichment
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 07:56 UTCGHSA enrichment
- 2026-07-15 20:41 UTCGHSA enrichment
Show 32 moreShow fewer
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 09:25 UTCGHSA enrichment
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 22:07 UTCGHSA enrichment
- 2026-07-14 10:49 UTCGHSA enrichment
- 2026-07-13 23:31 UTCGHSA enrichment
- 2026-07-13 22:31 UTCEPSS rescore
- 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 UTCGHSA enrichment
- 2026-07-12 13:42 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 02:25 UTCGHSA enrichment
- 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 UTCGHSA enrichment
- 2026-07-10 16:37 UTCGHSA enrichment
- 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 UTCGHSA enrichment
- 2026-07-09 06:50 UTCGHSA enrichment
- 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:19 UTCGHSA enrichment
- 2026-07-07 21:03 UTCEG score recompute
- 2026-07-07 21:01 UTCMITRE cvelistV5first tracked
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.