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.
{
"github_reviewed": true,
"nvd_published_at": "2025-03-20T10:15:38Z",
"cwe_ids": [
"CWE-918"
],
"github_reviewed_at": "2025-03-21T21:16:29Z",
"severity": "HIGH"
}