# CVE-2026-87997: Open WebUI: Any authenticated user can inject chats into another user's folder via chat completions

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-09T21:30:09.334Z
- Modified: 2026-10-01T17:56:19.989Z
- Also known as: GHSA-3pf7-q2g3-wj28, PYSEC-2026-4118
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.10.0 until 0.11.1, POST /api/chat/completions and POST /api/v1/chat/completions in backend/open_webui/main.py copied a client-supplied folder_id into a new chat without applying the folder write-access check used by the dedicated chat routes. An authenticated user who knew a shared folder identifier could inject an attacker-controlled chat into a folder where the user had read-only or no write access, causing the entry to appear to authorized folder readers. This issue is fixed in version 0.11.1.

(As written by CVE List.)

## Affected

- open-webui open-webui: >= 0.10.0, < 0.11.1
- open-webui (PyPI): from 0.10.0 before 0.11.1
- openwebui open_webui: from 0.10.0 before 0.11.1

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-3pf7-q2g3-wj28> (exploit, vendor-advisory, web)
- <https://github.com/open-webui/open-webui/pull/28366> (issue-tracking, patch, web)
- <https://github.com/open-webui/open-webui/commit/d9e23b90c100d19b00270aea3cde0501d2354a6c> (patch, web)
- <https://github.com/open-webui/open-webui/releases/tag/v0.11.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-87997> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://pypi.org/project/open-webui> (package)
- <https://github.com/advisories/GHSA-3pf7-q2g3-wj28> (advisory)

## Sources

- CVE List: [CVE-2026-87997](https://www.cve.org/CVERecord?id=CVE-2026-87997), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-3pf7-q2g3-wj28](https://github.com/advisories/GHSA-3pf7-q2g3-wj28), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-87997](https://nvd.nist.gov/vuln/detail/CVE-2026-87997), Public domain, modified 2026-09-16
- PyPA Advisory Database: [PYSEC-2026-4118](https://osv.dev/vulnerability/PYSEC-2026-4118), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-87997 · Whole record: https://cve.day/CVE-2026-87997.json · Rebuilt by cve.day 2026-11-25T22:59:37.796Z
