{"schemaVersion":3,"id":"CVE-2026-54021","aliases":["GHSA-9rpj-v7hf-vv2w","PYSEC-2026-2718"],"status":"published","duplicateOf":null,"title":null,"description":"Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, several direct, index-addressed Ollama proxy routes accept a caller-supplied url_idx path parameter and use it as a raw index into the admin-configured OLLAMA_BASE_URLS list. Access control on these routes validates only whether the user may use the requested model, never which backend the request is routed to. Any authenticated user can append an arbitrary url_idx to force their request onto an Ollama backend they were never authorized to reach, including internal, higher-privilege, or explicitly admin-disabled backends. This vulnerability is fixed in 0.9.6.","dates":{"published":"2026-06-23T16:39:58.041Z","modified":"2026-06-26T19:21:06.832Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":7.2,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00283,"percentile":0.1968,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00283},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00283,"percentile":0.1968}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00283,"percentile":0.1968}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"open-webui","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":"/vendor/open-webui/open-webui"},{"vendor":"openwebui","product":"open_webui","name":"open webui","label":"open_webui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":"/vendor/openwebui/open_webui"},{"vendor":"PyPI","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/open-webui","purlType":"pypi","versions":[{"text":"< 0.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-webui/open-webui/security/advisories/GHSA-9rpj-v7hf-vv2w","label":"github.com/open-webui/open-webui/security/advisories/GHSA-9rpj-v7hf-vv2w","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54021","label":"nvd.nist.gov/vuln/detail/CVE-2026-54021","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-9rpj-v7hf-vv2w","label":"github.com/advisories/GHSA-9rpj-v7hf-vv2w","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/open-webui/open-webui","label":"github.com/open-webui/open-webui","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2718.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2718.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/open-webui","label":"pypi.org/project/open-webui","hostname":"pypi.org","tags":["WEB","PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-23T16:39:58.041Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-26T19:21:06.832Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:30:05.751Z","stale":false,"partial":false}}