Files
open-webui/backend/open_webui
0354775917 fix: decode terminal proxy path until stable to block multi-encoded traversal (#25157)
_sanitize_proxy_path decoded the proxy path once before the '..' check, so a double-encoded payload (%252e%252e) survived the check as %2e%2e and was then re-decoded into '..' by the upstream terminal server, defeating the traversal guard. Decode until stable so no encoded traversal sequence can reach the upstream. Single-encoded payloads were already rejected; this closes the double (and deeper) encoding bypass.

Co-authored-by: sermikr0 <230672901+sermikr0@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-31 15:11:19 -07:00
..
…
2026-05-21 16:25:25 +04:00
2026-05-21 15:29:49 +04:00
2026-05-31 15:10:48 -07:00
2026-05-31 14:48:51 -07:00
2026-05-12 03:04:35 +09:00
2026-05-31 14:59:28 -07:00
2026-05-09 02:38:08 +09:00
2026-05-31 15:10:48 -07:00
2026-05-31 15:10:48 -07:00