Skip to main content
VulnerabilityPublished

CVE-2026-59707: LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs

Source GCVE Database

0

Not known to be exploited · public detection template (Nuclei) · CVSS 8.6 High.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Jul 2026

  2. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

Until a fix is available, restrict network access to the LocalAI server to limit its ability to make outbound requests to internal or sensitive network resources. Implement input validation and sanitization on the gallery URL fields if possible.

Description

LocalAI contains an unauthenticated server-side request forgery (SSRF) vulnerability in its POST /models/apply endpoint. Attackers can supply unsanitized gallery URL fields that are used without validation, causing the server to make HTTP GET requests to internal or private network addresses. This may expose partial response data through error messages. No affected versions or patches are currently specified.

References

Community reviews

Loading reviews…