9.2

CVE-2026-59707: LocalAI - Server-Side Request Forgery via POST /models/apply

Deferred
AliasesGHSA-8c5q-hx4g-qq23GO-2026-6645
Published 07-07-2026Last modified 24-09-2026

Vulnerability summary

CVE-2026-59707 is a critical (CVSS 9.2) Server-Side Request Forgery vulnerability in localai. EPSS estimates a 1.38% chance of exploitation in the next 30 days, higher than 72.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 20-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.2/10
010
Critical · v4.0 (CVE.org)
EPSS score
1.38%
0%100%
Low · +0.90 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 07-07-2026
    PublishedVulnerability first disclosed.
  2. 24-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 3 sources · 2 versions

EPSS trend

Probability

1.38%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

Increase +0.90 pp

From 0.48% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/mudler1 product
  • LocalAI< 1.40.1-0.20260703213242-2cbb3c96b34d
Localai1 product

2 vendors · 2 products

References

6 links