Skip to content
HighVulnerability

CVE-2024-7959: open-webui SSRF through the /openai/models endpoint

Identifier
CVE-2024-7959
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2024-7959 affects the `/openai/models` endpoint in open-webui/open-webui version 0.3.8. The endpoint is vulnerable to Server-Side Request Forgery (SSRF) because an attacker can change the OpenAI URL to any URL without checks, causing the endpoint to send a request there and return the output. This allows access to internal services and potentially command execution by reading instance secrets.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.