The `/openai/models` endpoint in open-webui/open-webui version 0.3.8 is vulnerable to Server-Side Request Forgery (SSRF). An attacker can change the OpenAI URL to any URL without checks, causing the endpoint to send a request to the specified URL and return the output. This vulnerability allows the attacker to access internal services and potentially gain command execution by accessing instance secrets.
CVE ID: CVE-2024-7959
CVSS Base Severity: HIGH
CVSS Base Score: 7.7
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Vendor: open-webui
Product: open-webui/open-webui
EPSS Score: 0.04% (probability of being exploited)
EPSS Percentile: 13.2% (scored less or equal to compared to others)
EPSS Date: 2025-04-18 (when was this score calculated)