The vulnerability description clearly outlines an IDOR (Insecure Direct Object Reference) flaw in the event update functionality. The update_event function in backend/open_webui/routers/calendar.py is identified as the entry point. The core issue is that while it validates write access on the event's current calendar, it completely trusts the calendar_id provided in the request body for the destination, without checking if the user is authorized to write to that destination. This allows an attacker to reparent an event into another user's calendar. To pinpoint the exact fix, I compared the git tags for the last vulnerable version (v0.9.5) and the first patched version (v0.9.6). The commit ea058841c91dc38b6dd6d81463429a53282823cb with the message "fix: check destination calendar write access on event update" directly addresses this issue. The patch adds a crucial authorization check (_check_calendar_access) for the destination calendar_id within the update_event function, confirming it as the vulnerable function. The root cause is a failure to properly enforce authorization on all user-controlled inputs that specify a resource.