Critical
LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-114493
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:36 UTC · Revision 1
Source evidence
LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects
core-osv · Original sourcePublished 21 Oct 2026, 17:54 UTC
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.
osv:CVE-2026-114493
Complete source record
{
"id": "264b5de8cfc5b8316e19c87825fbaf679f51d203be98cf47a6987fa9f3dcd655",
"url": "https://osv.dev/vulnerability/CVE-2026-114493",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LocalAI v4.6.0 through v4.11.0 SSRF Guard Bypass via HTTP Redirects",
"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.",
"evidence": "osv:CVE-2026-114493",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-114493",
"aliases": [
"CVE-2026-114493"
],
"metrics": [
{
"type": "CVSS_V4",
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mudler/localai",
"type": "GIT",
"events": [
{
"introduced": "38350d363e8ee05872cad1cc3a0311fe55bf5b8b"
},
{
"last_affected": "58830f7ac508845a6f4efa32cfca06af422d4d82"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "v4.6.0"
},
{
"last_affected": "v4.11.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4.6.0"
},
{
"last_affected": "4.11.0"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v4.11.0",
"v4.10.0",
"v4.9.0",
"v4.8.2",
"v4.8.1",
"v4.8.0",
"v4.7.1",
"v4.7.0",
"v4.6.2",
"v4.6.1",
"v4.6.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114493.json"
}
}
],
"modified": "2026-10-28T02:30:32.646332964Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114493.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-114493",
"https://www.vulncheck.com/advisories/localai-4.6.0-through-4.11.0-ssrf-guard-bypass-via-http-redirects",
"https://github.com/mudler/LocalAI/pull/12791",
"https://github.com/mudler/LocalAI",
"https://github.com/mudler/LocalAI/blob/v4.11.0/core/gallery/gallery.go#L26-L57",
"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/downloader/uri.go#L196-L212",
"https://github.com/mudler/LocalAI/blob/v4.11.0/pkg/httpclient/client.go#L81-L92"
],
"provider_metadata": {
"cwe_ids": [
"CWE-918"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114493.json"
}
},
"related_cves": [
{
"value": "CVE-2026-114493",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499748,
"published_at": "2026-10-21T17:54:17.584+00:00"
}