mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #8809] Authorization Bypass in Tool Valves Update Endpoint #30801
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @antpyykk-kone on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8809
Installed latest release as of writing (0.5.6) via docker via WSL2.
Environment
Confirmation:
POST /tools/id/{id}/valves/updatemethodExpected Behavior:
Actual Behavior:
Description
Bug Summary:
Authorization bypass exists where any verified user is able to update the system-wide tool valves via update_tools_valves_by_id method.
Only admins should be able to update system wide valves.
Reproduction Details
/tools/id/{id}/valves/update. The body containing updated valve valuesLogs and Screenshots
N/A
Additional Information
@tjbck commented on GitHub (Jan 23, 2025):
Addressed with
8fc5532e2f