{"data":{"id":"79bc0708-5d1e-4986-a6ae-8f6c6152ab4b","title":"GHSA-8c5q-hx4g-qq23:  LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs","summary":"LocalAI's unauthenticated POST /models/apply endpoint passes unsanitized gallery URL fields directly to gallery.GetGalleryConfigFromURLWithContext without proper validation. An attacker can force the server to send HTTP GET requests to private and loopback address ranges, with partial response content leaked through error messages.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-8c5q-hx4g-qq23","publishedAt":"2026-07-07T21:31:36.000Z","cveId":"CVE-2026-59707","cweIds":["CWE-918"],"cvssScore":"8.6","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["github.com/mudler/LocalAI@< 1.40.1-0.20260703213242-2cbb3c96b34d (fixed: 1.40.1-0.20260703213242-2cbb3c96b34d)"],"affectedPackageNames":["github.com/mudler/localai"],"affectedPackageRefs":["go:github.com/mudler/localai"],"affectedVendors":[],"affectedVendorsRaw":["LocalAI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.0159,"epssPercentile":0.76471,"epssCheckedAt":"2026-12-03T18:27:06.700Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":null,"ssvcExploitation":null,"nvdStatus":null,"referencesCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-8c5q-hx4g-qq23"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-07-07T21:31:36.000Z","fixReleasedAt":"2026-07-03T21:32:42.000Z","daysToFix":-4,"fixCheckedAt":"2026-12-03T18:30:45.425Z","capecIds":["CAPEC-664"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["github.com/mudler/LocalAI@1.40.1-0.20260703213242-2cbb3c96b34d"],"affectedPurls":["pkg:golang/github.com/mudler/localai"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":null,"timeline":[{"event":"fix_released","date":"2026-07-03","source":"package_registry"},{"event":"published","date":"2026-07-07","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"go","name":"github.com/mudler/LocalAI","fixedVersion":"1.40.1-0.20260703213242-2cbb3c96b34d","matchedVersion":"v1.40.1-0.20260703213242-2cbb3c96b34d","fixReleasedAt":"2026-07-03T21:32:42.000Z","daysToFix":-4,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-12-03T18:30:45.424Z"}]}}