CVE-2026-59707
A public proof of concept exists; no exploitation attested.
- Published2026-07-07
- Fixed in1.40.1-0.20260703213242-2cbb3c96b34d
- WeaknessCWE-918
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
LocalAI contains an unauthenticated server-side request forgery vulnerability in the POST /models/apply endpoint that allows attackers to fetch arbitrary internal URLs. The endpoint passes unsanitized gallery URL fields directly to gallery.GetGalleryConfigFromURLWithContext without proper validation, enabling attackers to force the server to issue HTTP GET requests to private and loopback ranges with partial response content leaked through error messages.
Timeline
dates in UTC- 2026-07-0721:17CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.40 | < 1.40.1-0.20260703213242-2cbb3c96b34d | 1.40.1-0.20260703213242-2cbb3c96b34d | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- LocalAIother versions: not affectedAffected
- ≤ v4.3.1no fix statedcustom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-09-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- govulncheck-vulndbSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 0.0.20261105T234957-160000.1.1
- govulncheck-vulndbSUSE:Linux Enterprise Server 16.0all versions · fixed in 0.0.20261105T234957-160000.1.1
- govulncheck-vulndbopenSUSE:Leap 16.0all versions · fixed in 0.0.20261105T234957-160000.1.1
Fix
- Update mudler/LocalAI to 1.40.1-0.20260703213242-2cbb3c96b34d
Detection
read 2026-11-19 10:48 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-07-08
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-26
- CISA-ADPSSVC decisionpoc2026-07-08
- CNACVSS 4.09.2known since 2026-10-26
- CNACVSS 3.18.6known since 2026-10-26
- CNAweakness (CWE)CWE-918known since 2026-10-26
- FIRST EPSSEPSS score1.4 %2026-11-18
- ProjectDiscoverydetectionread 2026-11-19
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2026-10-02
Identifiers
- EUVD-2026-42097same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-8c5q-hx4g-qq23same flawGitHub Advisory Database · CC-BY-4.0
- GO-2026-6645same flawGo Vulnerability Database · CC-BY-4.0
- openSUSE-SU-2026:22336-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2026:24730-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- CVSS 4.0 vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-07-07
- Last Modified
- 2026-10-25
- NVD status
- Deferred
- GitHub Advisory
- GHSA-8c5q-hx4g-qq23
Frequently asked questions
What is CVE-2026-59707?
Is CVE-2026-59707 actively exploited?
What is the CVSS score for CVE-2026-59707?
Running mudler/LocalAI? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-111497KEVsame productOut-of-Bounds Write in Google Brotli Decoder
- CVE-2026-33634KEVsame product
- CVE-2026-60004KEVsame product
- CVE-2026-26190same productMilvus Allows Unauthenticated Access to Restful API on Metrics Port (9091) Leads to Critical System Compromise
- CVE-2026-33032same product
- CVE-2026-41176same product
- CVE-2026-27944same productNginx UI: Unauthenticated Backup Download with Encryption Key Disclosure
- CVE-2025-41115same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8c5q-hx4g-qq23
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0