一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月8日

CVE-2026-46434 [HIGH] – wger is a free, open-source workout and fitness manager. Prior to version 2.6, a user with

未分类
📑 文章目录

wger is a free, open-source workout and fitness manager. Prior to version 2.6, a user with only the `gym_trainer` permission can deactivate any account in the same gym, including `gym_manager` and `general_gym_manager` accounts. The `UserDeactivateView` grants access to anyone holding any one of `gym.manage_gym`, `gym.manage_gyms`, or `gym.gym_trainer` (OR logic via `WgerMultiplePermissionRequiredMixin`), and performs no privilege-hierarchy check to prevent a lower-privileged role from disabling a higher-privileged one. Version 2.6 fixes the issue.