{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "v4.6.0"
                  },
                  {
                    "last_affected": "v4.11.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "38350d363e8ee05872cad1cc3a0311fe55bf5b8b"
            },
            {
              "last_affected": "58830f7ac508845a6f4efa32cfca06af422d4d82"
            }
          ],
          "repo": "https://github.com/mudler/localai",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114493.json"
  },
  "details": "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.",
  "id": "CVE-2026-114493",
  "modified": "2026-10-22T10:30:58.774195572Z",
  "published": "2026-10-21T17:54:17.584Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114493.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mudler/LocalAI"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mudler/LocalAI/pull/12791"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114493"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects"
}