# CVE-2026-54017: Open WebUI: Path traversal / SSRF in terminal server proxy via encoded path traversal

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/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.52%, higher than 38% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-17T17:55:28.000Z
- Modified: 2026-07-15T22:00:52.691Z
- Also known as: GHSA-r2wg-2mcr-66rv, PYSEC-2026-2751
- Weaknesses: CWE-22, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6, the terminal-server reverse proxy in `backend/open_webui/routers/terminals.py` does not fully confine the user-controlled `path` segment before forwarding it to an admin-configured terminal server. An authenticated user who has been granted access to a terminal server can craft `path` values containing encoded `../` traversal sequences that escape the intended path (or policy) scope on that server, reaching unintended endpoints and files on the terminal-server host. Where the terminal server fans requests out to internal services, this also gives SSRF-style reach into those services. This is a separate code path from the `/api/v1/retrieval/process/web` SSRF (GHSA-c6xv-rcvw-v685), with its own input. Two distinct vectors are consolidated here: first, raw path forwarding / single-encoded traversal (original report); and second, a bypass of the subsequently-added `_sanitize_proxy_path` mitigation using double-encoded dots (`%252e%252e`). The attacker-controlled input is the request `path`, supplied by the non-admin user, not anything an administrator configures, so this is not an admin-trust / Rule-9 situation. Version 0.9.6 fixes the issue.

(As written by CVE List.)

## Affected

- open-webui open-webui: < 0.9.6
- open-webui (PyPI): before 0.9.6
- openwebui open_webui: before 0.9.6

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/open-webui/open-webui/security/advisories/GHSA-r2wg-2mcr-66rv> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54017> (advisory)
- <https://github.com/open-webui/open-webui> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/open-webui/PYSEC-2026-2751.yaml> (web)
- <https://pypi.org/project/open-webui> (package, web)
- <https://github.com/advisories/GHSA-r2wg-2mcr-66rv> (advisory)

## Sources

- CVE List: [CVE-2026-54017](https://www.cve.org/CVERecord?id=CVE-2026-54017), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-r2wg-2mcr-66rv](https://github.com/advisories/GHSA-r2wg-2mcr-66rv), CC-BY-4.0, modified 2026-07-15
- NVD: [CVE-2026-54017](https://nvd.nist.gov/vuln/detail/CVE-2026-54017), Public domain, modified 2026-06-24
- PyPA Advisory Database: [PYSEC-2026-2751](https://osv.dev/vulnerability/PYSEC-2026-2751), CC-BY-4.0, modified 2026-07-13

---

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