Advisory record · GHSA-8c5q-hx4g-qq23

LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs

CVSS 9.2 CriticalCriticalEPSS 0.014 · 72nd percentile

Critical, because:

  • CVSS score 9.2: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 7 Jul 2026, 21:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/mudler/LocalAIGo<1.40.1-0.20260703213242-2cbb3c96b34d1.40.1-0.20260703213242-2cbb3c96b34d
Identifiers
GHSA-8c5q-hx4g-qq23 · CVE-2026-59707 · GO-2026-6645
Weakness (CWE)
CWE-918
Published
7 Jul 2026
Updated
7 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

LocalAI's POST /models/apply endpoint, in the Go module github.com/mudler/LocalAI, is affected in versions before 1.40.1-0.20260703213242-2cbb3c96b34d, which is also the fixed version. An unauthenticated attacker can make the server send HTTP GET requests to private and loopback addresses through gallery URL fields, and parts of the responses can leak back in error messages. Upgrade to 1.40.1-0.20260703213242-2cbb3c96b34d or later. No workaround is listed.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.2 Critical 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.014, the 72nd percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:12 UTC First seen by agentprime
  2. 31 Oct 2026, 14:12 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.