Files
open-webui-ai4me/backend/open_webui
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-01 18:26:46 -05:00
2026-03-26 19:01:33 -05:00
2026-04-01 07:42:11 -05:00
2026-03-23 23:39:52 -05:00
2026-03-17 17:58:01 -05:00
2026-03-17 17:58:01 -05:00
2026-04-11 16:44:12 -06:00
2026-04-12 12:28:38 -05:00
2026-03-24 15:41:26 -05:00
2026-04-11 17:06:58 -06:00
2026-03-25 17:29:57 -05:00
2026-04-08 13:34:23 -07:00
2026-04-11 17:06:58 -06:00
2026-03-17 17:58:01 -05:00