{"id":"CVE-2024-7959","summary":"SSRF in open-webui/open-webui","details":"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.","modified":"2026-09-02T21:40:36.619422799Z","published":"2025-03-20T10:09:00.331Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7959.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/3c8bea0a-d678-4d67-bb9c-2b5b610a2193"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7959.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7959"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"},{"last_affected":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"}],"database_specific":{"cpe":"cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.3.8"},{"last_affected":"0.3.8"}],"source":"CPE_STRING"}}],"versions":["0.3.8","v0.3.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7959.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"}]}