PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-114493 LocalAI CVE debrief

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. This vulnerability allows attackers to potentially access sensitive internal or cloud metadata, which could lead to further exploitation. Defenders should assess the exposure of their LocalAI deployments and prioritize verification and remediation efforts.

Vendor
LocalAI
Product
Unknown
CVSS
CRITICAL 9.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-21
Original CVE updated
2026-10-21
Advisory published
2026-10-21
Advisory updated
2026-10-21

Who should care

Defenders responsible for LocalAI deployments should assess exposure and prioritize verification and remediation efforts. This includes reviewing and updating gallery config URLs, monitoring for suspicious activity, and verifying affected deployments to prevent potential SSRF bypass. Additionally, defenders should consider the potential operational impacts of this vulnerability, including the exposure of internal or cloud metadata addresses.

Why it matters

LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects allows attackers to submit a config URL through POST /models/apply that redirects to internal or cloud metadata addresses, receiving those internal responses as gallery content.

  • Defenders must verify affected LocalAI deployments to prevent SSRF bypass
  • Internal or cloud metadata addresses may be exposed to attackers
  • Suspicious activity related to internal or cloud metadata addresses should be monitored

Technical summary

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. The vulnerability is caused by incomplete validation of the gallery config URL, allowing attackers to bypass the SSRF guard and potentially access sensitive internal or cloud metadata. Defenders should prioritize verifying affected LocalAI deployments and assessing exposure to internal or cloud metadata addresses.

Defensive priority

Defenders should prioritize verifying affected LocalAI deployments and assessing exposure to internal or cloud metadata addresses.

Recommended defensive actions

  • Verify affected LocalAI deployments and assess exposure to internal or cloud metadata addresses
  • Review and update gallery config URLs to prevent SSRF bypass
  • Monitor for suspicious activity related to internal or cloud metadata addresses
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and source item provide details on the vulnerability, including affected versions and technical descriptions. The vulnerability is caused by the incomplete validation of the gallery config URL, which allows attackers to bypass the SSRF guard. The source item and CVE record do not provide explicit evidence of exploitation, but defenders should verify affected deployments to prevent potential SSRF bypass. The CVE Program record and NVD detail page offer additional context on the vulnerability and its potential impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-114493 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-114493

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-114493 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-114493

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/114xxx/CVE-2026-114493.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/mudler/LocalAI/pull/12791

    Supplemental source - patch, issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.