CVE-2026-46434

wger: Trainer Privilege Escalation - Improper Privilege Management

State
Published
Severity
7.1 High
Published
Oct 7, 2026
Updated
Oct 7, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-269 Improper Privilege Management

Affected Products

ProductVersions
wgerwger-project
  • < 2.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.