Files
open-webui-ai4me/backend/open_webui/routers
Classic298 a2a9a3a42a fix: prevent path traversal via model name in Azure deployment URLs (#23629)
The model name from user input was interpolated directly into Azure deployment URL paths without validation. A user could send a model name like '../../management/foo' to traverse the URL path and hit unintended Azure endpoints with the admin's API key.

Adds _sanitize_model_for_url that rejects path separators and traversal sequences, and percent-encodes the name. Applied at convert_to_azure_payload (covers chat completions + proxy) and the responses endpoint's direct URL construction.
2026-04-12 12:29:45 -05:00
..
2026-03-17 17:58:01 -05:00
2026-04-02 19:31:15 -05:00
2026-04-11 17:06:58 -06:00
2026-04-01 05:55:48 -05:00
2026-03-26 18:17:49 -05:00
2026-04-02 08:11:06 -05:00
2026-04-11 15:23:37 -06:00
2026-03-17 17:58:01 -05:00
2026-03-24 04:49:48 -05:00
2026-03-17 17:58:01 -05:00
2026-03-24 06:07:20 -05:00
2026-03-24 04:49:48 -05:00
2026-04-02 22:34:51 -05:00
2026-04-02 02:06:21 -05:00
2026-03-24 04:49:48 -05:00
2026-04-02 02:06:21 -05:00
2026-04-01 05:52:03 -05:00
2026-03-17 17:58:01 -05:00
2026-03-17 17:58:01 -05:00
2026-03-29 21:01:10 -05:00
2026-04-02 02:06:21 -05:00
2026-04-01 01:21:21 -05:00
2026-03-26 19:01:33 -05:00