The vulnerability description indicates a broken access control issue where users with lower privileges can delete any user account. The recommended fix was to add role-based access control to the user deletion endpoint. Based on the provided information, the patched version for the 'frigate' pip package is 0.16.3, and a vulnerable version is 0.16.2. By comparing the git tags for v0.16.2 and v0.16.3 in the blakeblackshear/frigate repository, I identified a set of commits. Among them, commit 592c245dcd25919e7d39bdae2462847c6323850f with the message "require admin role to delete users" directly addresses the vulnerability. Analyzing the diff of this commit reveals changes in frigate/api/auth.py. The delete_user function, which handles user deletion, was modified to include a dependency Depends(require_role(["admin"])). This confirms that prior to this change, the function lacked proper authorization, making it the vulnerable function.