CVE-2026-59707
Last modified
CVE-2026-59707 is a critical-severity vulnerability rated 9.2/10 on the CVSS scale. 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.. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| LocalAI | LocalAI | <= v4.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59707?
How severe is CVE-2026-59707?
How do I fix CVE-2026-59707?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59701A vulnerability has been identified in Simcenter Femap (All …7.8
- CVE-2026-59702repomix contains a server-side request forgery vulnerability…9.3
- CVE-2026-59703repomix contains a local file inclusion vulnerability in the…8.7
- CVE-2026-59704Cap's GET /api/video/ai endpoint fails to validate user owne…7.1
- CVE-2026-59705mem0's openmemory/api component contains an unauthenticated …9.8
- CVE-2026-59706mem0 contains unauthenticated config API endpoints that expo…9.3
- CVE-2026-59708The GET /api/v1/public/:accessId/portfolio endpoint in ghost…8.7
- CVE-2026-59709Ghostfolio's PUT /api/v1/portfolio/holding/:dataSource/:symb…5.3
- CVE-2026-5971A flaw has been found in FoundationAgents MetaGPT up to 0.8.…9.8
- CVE-2026-59710showdown contains a stored cross-site scripting vulnerabilit…6.1
- CVE-2026-59711showdown contains a cross-site scripting vulnerability in me…6.1
- CVE-2026-59712Leantime's Users::getUser method in the JSON-RPC API lacks p…8.6
Are you affected by CVE-2026-59707?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
