CVE-2024-7959

Source
https://cve.org/CVERecord?id=CVE-2024-7959
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7959.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-7959
Aliases
Published
2025-03-20T10:09:00.331Z
Modified
2026-07-22T20:18:49.887535428Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7959.json",
    "cwe_ids": [
        "CWE-918"
    ],
    "cna_assigner": "@huntr_ai"
}
References

Affected packages

Git / github.com/open-webui/open-webui

Affected ranges

Type
GIT
Repo
https://github.com/open-webui/open-webui
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.3.8"
        },
        {
            "last_affected": "0.3.8"
        }
    ],
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*"
}

Affected versions

0.*
0.3.8
v0.*
v0.3.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7959.json"