Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-n2gy-gtmf-fqb6
Summary
Open WebUI has Broken Access Control for Completions API
### Summary
Any user `X` can continue the conversation of any other user `Y`, as long as the Chat ID of `Y` is known. User `X` does not even need to be an admin to do so. 

### Details
A user just needs to use the API endpoint: `/api/chat/completions` with their own API key (generated in OWUI) and the Chat ID of another user. **OWUI does not check to match the Chat ID with the user that created that Chat ID**. Note that both users will need access to the same model. This is especially relevant if there is a shared pipeline model between users. 

### PoC
1. Using OWUI v0.6.18
2. Sign in with any user `X`
3. Generate an API Key for user `X` using the settings
4. Create another user `Y`, and have a conversation in OWUI. Copy the Chat ID from the URL.
5. User `X` can now use the API `/api/chat/completions` and the Chat ID from step 4 to continue the conversation of user `Y`

### Impact
Large impact to any user in OWUI. People can read your conversations, and access private information if they know your Chat ID (which is in the URL of the chat). 

## Resolution

Fixed in commit [cf4218e68](https://github.com/open-webui/open-webui/commit/cf4218e688def6f11d195aeda6665ae5b5376b67), first released in **v0.9.0** (Apr 2026). The `chat_completion` handler at `backend/open_webui/main.py:1868` now explicitly verifies chat ownership via `Chats.is_chat_owner(chat_id, user.id)` for any request that targets an existing chat, and raises 404 for non-owners (admin bypass preserved per the documented threat model). New chats (no `chat_id` supplied, or freshly inserted via the `is_new_chat` branch) are unaffected. Users on `>= 0.9.0` are not affected.
Aliases
0
alias CVE-2026-45349
1
alias GHSA-gfm2-xm6c-37qc
Fixed_packages
0
url pkg:pypi/open-webui@0.9.0
purl pkg:pypi/open-webui@0.9.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/open-webui@0.9.0
Affected_packages
0
url pkg:pypi/open-webui@0.8.12
purl pkg:pypi/open-webui@0.8.12
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-2ykm-v9c3-1ydt
1
vulnerability VCID-4s4a-781v-6yb4
2
vulnerability VCID-549q-3r57-e3fd
3
vulnerability VCID-6nfj-vchx-83aq
4
vulnerability VCID-7331-dndh-fyef
5
vulnerability VCID-8ptv-6zat-hbej
6
vulnerability VCID-9956-859p-dqbr
7
vulnerability VCID-ah8x-f6g2-cuht
8
vulnerability VCID-amcq-e69h-37f6
9
vulnerability VCID-bapz-yfqd-v7a6
10
vulnerability VCID-fg35-p875-x7as
11
vulnerability VCID-fprr-36a3-kbdg
12
vulnerability VCID-jfx3-hea4-nfgh
13
vulnerability VCID-jkxz-d147-pfh5
14
vulnerability VCID-krfh-6cjb-6fgt
15
vulnerability VCID-n2gy-gtmf-fqb6
16
vulnerability VCID-ne81-npbg-gba9
17
vulnerability VCID-qasv-ay56-1fcq
18
vulnerability VCID-rnen-3v6j-c3cv
19
vulnerability VCID-s72t-w91t-2yg8
20
vulnerability VCID-sehc-4tw6-nyfx
21
vulnerability VCID-t2np-jpr1-jfaa
22
vulnerability VCID-vhhg-4z5d-73ea
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/open-webui@0.8.12
References
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-45349
reference_id
reference_type
scores
0
value 0.00039
scoring_system epss
scoring_elements 0.1197
published_at 2026-06-06T12:55:00Z
1
value 0.00039
scoring_system epss
scoring_elements 0.11859
published_at 2026-06-09T12:55:00Z
2
value 0.00039
scoring_system epss
scoring_elements 0.11848
published_at 2026-06-08T12:55:00Z
3
value 0.00039
scoring_system epss
scoring_elements 0.11975
published_at 2026-06-05T12:55:00Z
4
value 0.00039
scoring_system epss
scoring_elements 0.11932
published_at 2026-06-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-45349
1
reference_url https://github.com/open-webui/open-webui
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/open-webui/open-webui
2
reference_url https://github.com/open-webui/open-webui/commit/cf4218e688def6f11d195aeda6665ae5b5376b67
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/open-webui/open-webui/commit/cf4218e688def6f11d195aeda6665ae5b5376b67
3
reference_url https://github.com/open-webui/open-webui/releases/tag/v0.9.0
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/open-webui/open-webui/releases/tag/v0.9.0
4
reference_url https://github.com/open-webui/open-webui/security/advisories/GHSA-gfm2-xm6c-37qc
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-19T12:41:10Z/
url https://github.com/open-webui/open-webui/security/advisories/GHSA-gfm2-xm6c-37qc
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-45349
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-45349
6
reference_url https://github.com/advisories/GHSA-gfm2-xm6c-37qc
reference_id GHSA-gfm2-xm6c-37qc
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-gfm2-xm6c-37qc
Weaknesses
0
cwe_id 639
name Authorization Bypass Through User-Controlled Key
description The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Exploits
Severity_range_score7.0 - 8.9
Exploitability0.5
Weighted_severity8.0
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-n2gy-gtmf-fqb6