Read the docs

SSRF guard bypass in LocalAI via HTTP redirects

Priority MEDIUM 46CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-918 and the CVSS impact.

Summary

LocalAI from v4.6.0 through v4.11.0 contains a server-side request forgery flaw (CWE-918) in its gallery code. The code validates only the initial gallery config URL and does not check where HTTP redirects lead. An unauthenticated remote attacker can submit a config URL through POST /models/apply that redirects to internal or cloud metadata addresses and receives those responses as gallery content.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Description from the CNA

LocalAI v4.6.0 through v4.11.0 contains a server-side request forgery vulnerability in core/gallery/gallery.go that validates only the initial gallery config URL. Attackers can submit a config URL through POST /models/apply that redirects to internal or cloud metadata addresses, receiving those internal responses as gallery content.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0038 32nd percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LocalAILocalAIv4.6.0 – v4.11.0—No fix listedCNA
  • LocalAI VendorLocalAI Affected v4.6.0 – v4.11.0 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for LocalAI.

Written with Claude Haiku 5.5 from the sources below · 2026-10-28

Timeline

  1. 2026-10-21 Threatist record created from CVE-2026-114493
  2. 2026-10-21 Alias added: GHSA-vhg8-m8fr-3863
  3. 2026-10-21 CISA SSVC decision points changed

References

  • TI-2026-42580 LocalAI - Server-Side Request Forgery via POST /models/apply CVSS 4.0CRITICAL 9.2

Sources