blakeblackshear/frigate · Security
Frigte has broken access control viewer user can delete admin and other users account
- GHSA ID
- GHSA-vg28-83rp-8xx4
- CVE ID
- CVE-2026-33125
- Severity
- high
- Published
- Updated
- CVSS
- 7.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
- CVSS v3
- 7.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Description
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/admin is 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.
CWEs
- CWE-285 · Improper Authorization