Frigte has broken access control viewer user can delete admin and other users account
High severity
GitHub Reviewed
Published
Dec 6, 2025
in
blakeblackshear/frigate
•
Updated Mar 18, 2026
Description
Published to the GitHub Advisory Database
Mar 18, 2026
Reviewed
Mar 18, 2026
Last updated
Mar 18, 2026
Summary
Users with the viewer role can delete admin and other users account. It this leads to denial of service and affects data integrity.
Details
Endpoint
DELETE /api/users/adminis enable to anonymous user.PoC
I deleted admin user on
demo.frigate.video:Impact
It this leads to denial of service and affects data integrity.
Recommended Fixes
Restrict access to the endpoint to authenticated admin users only:
Add
dependencies=[Depends(require_role(["admin"]))])to this endpoint.References