GHSA-gfm2-xm6c-37qc: Open WebUI has Broken Access Control for Completions API
- Identifiers
- CVE-2026-45349GHSA-gfm2-xm6c-37qc
- Published
- Record updated
- Affected
- open-webui <= 0.8.12
- Fixed in
- 0.9.0
- released April 21, 2026, 23 days before disclosure
Summary
Open WebUI, at version v0.6.18 as tested, does not check that a Chat ID belongs to the requesting user on the /api/chat/completions endpoint. Any user with their own API key and another user's Chat ID can continue that user's conversation and read it, provided both users have access to the same model. The flaw is fixed in v0.9.0.
Mitigation
Fixed in commit cf4218e68, first released in v0.9.0 (Apr 2026). The chat_completion handler in backend/open_webui/main.py:1868 now verifies chat ownership with Chats.is_chat_owner(chat_id, user.id) and returns 404 for non-owners, with the admin bypass preserved. Users on >= 0.9.0 are not affected.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- open-webuiPyPILLM dependency since 2024-05-20
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online