CrowdSecLive Exploit Tracker
Limited ExploitationCVE-2026-59707Public Exploit

LocalAI - SSRF (CVE-2026-59707)

PublishedJul 7, 2026
First SeenOct 28, 2026
Last Seen
Reported
CVSS9.2
ai_mcpweb_application

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.

psychologyCrowdSec Analysis

CVE-2026-59707 is a critical unauthenticated server-side request forgery (SSRF) vulnerability in LocalAI’s POST /models/apply endpoint. Attackers can make the server send requests to arbitrary internal, private, or loopback URLs, potentially exposing partial response data through error messages and enabling reconnaissance of otherwise inaccessible systems.

CrowdSec has been tracking this vulnerability and its exploits since 26th of October 2026.

CrowdSec network observations suggest that most exploitation of CVE-2026-59707 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2026-59707. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.

Attackers target the POST /models/apply endpoint and supply a crafted URL in the JSON url field, causing the server to make requests to attacker-controlled or internal network resources. The fetched result may be reflected in the model-apply job status.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2026-07-07
Rule Released2026-10-26
CrowdSec First Seen2026-10-28

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.