Skip to content
Access control Advisory Intermediate

GHSL-2026-002: Unauthorized actions or access in Open WebUI

The chat completion API accepts user-supplied tool identifiers and server details without checking whether the user is allowed to use those tools. An attacker could invoke any server tool, and the tool would run with the server's own authentication token.

m-y-mo Follow

Originally disclosed on GitHub Security Lab

Open WebUI v0.6.43 contains a vulnerability (GHSL-2026-002) in its chat completion API, which allows attackers to bypass tool restrictions, potentially enabling unauthorized actions or access.

m-y-mo, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

Restricted tools could be invoked by users via the chat completion API, and because the server's authentication token is used, the tool runs with server privileges.

What the attacker needed

Access to the chat completion API; knowledge of a valid tool_id or tool_servers value

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a web application that lets users chat with AI models and use 'tools' (extra functions the server can run). The server did not check if a user was allowed to use a particular tool before running it. So a user could ask the server to run any tool, even ones they should not have access to, and the tool would run with the server's own permissions.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by m-y-mo

View all

64 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.