CVE-2024-7959

Severity CVSS v4.0:
Pending analysis
Type:
CWE-918 Server-Side Request Forgery (SSRF)
Publication date:
20/03/2025
Last modified:
21/07/2025

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools