{"id":"EUVD-2026-42097","revision":"e1eaaa99d8a14f9380afacd16ec89c1d","records":[{"revision":"e1eaaa99d8a14f9380afacd16ec89c1d","observedAt":"2026-11-01T11:24:01.567+00:00","statement":{"source":"euvd","id":"EUVD-2026-42097","aliases":["CVE-2026-59707","GHSA-8c5q-hx4g-qq23"],"title":"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.…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"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","score":9.2,"severity":null}],"references":["https://github.com/mudler/LocalAI/issues/10665","https://github.com/mudler/LocalAI","https://github.com/mudler/LocalAI/commit/f9b968e19d7cbc556d59dceb2e0e450b828a3fda","https://www.vulncheck.com/advisories/localai-server-side-request-forgery-via-post-models-apply"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42097","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 7, 2026, 8:37:53 PM","dateUpdated":"Sep 24, 2026, 2:18:02 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-42097","identifiers":["EUVD-2026-42097","CVE-2026-59707","GHSA-8c5q-hx4g-qq23"]},"retained":false,"historicalAffected":[]}],"coverage":[]}