Loading advisory.
Loading advisory.
LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs
LocalAI contains an unauthenticated server-side request forgery vulnerability in the POST /models/apply endpoint that allows attackers to fetch arbitrary internal URLs.
Published 2026-07-07 20:37 UTC · Modified 2026-10-07 17:55 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/mudler/LocalAI | Go | < 1.40.1-0.20260703213242-2cbb3c96b34d | 1.40.1-0.20260703213242-2cbb3c96b34d | go get github.com/mudler/LocalAI@v1.40.1-0.20260703213242-2cbb3c96b34d |
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.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.014 on 2026-11-24 to 0.015 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.014 | first score | v2026.06.15 |
| 2026-11-26 | 0.015 | 0.014 | v2026.06.15 |