CVE-2026-45386 Open WebUI: An IDOR vulnerability exists in the pin_channel_message API endpoint

Medium 4.3 Published Updated

Users with read-only access can pin or unpin messages in standard channels due to missing write permission checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45386?

CVE-2026-45386 is a medium-severity missing authorization vulnerability in Openwebui Open Webui, published on 15 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.5, Pin/Unpin is a write operation (modifies the message's is_pinned , pinned_by, pinned_at fields), but in standard channels it only checks read permission, allowing users with read-only access to pin/unpin any message. This vulnerability is fixed in 0.9.5.

Weakness: CWE-639

Which versions are affected by CVE-2026-45386?

3 open source packages ship an affected version, including open-webui. It affects 1 product.

PackageAffectedFixed in
open-webui PyPIAll versions0.9.5
open-webui PyPIAll versions0.9.5
open-webui PyPIAll versions0.9.5

Products include Openwebui Open Webui.

How do I fix CVE-2026-45386?

Upgrade open-webui to 0.9.5 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-45386 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45386 exists.

All Openwebui Open Webui vulnerabilities

Sources

Also known as GHSA-5gc6-xhv4-2wg6, PYSEC-2026-2705.

Is CVE-2026-45386 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free