CVE-2026-46434 wger: Trainer Privilege Escalation - Improper Privilege Management
A gym trainer can deactivate higher-privileged manager accounts due to missing hierarchy checks, allowing unauthorized account deactivation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-46434?
CVE-2026-46434 is a high-severity vulnerability in wger-project wger, published on 7 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-269
Which versions are affected by CVE-2026-46434?
3 open source packages ship an affected version, including wger.
| Package | Affected | Fixed in |
|---|---|---|
wger PyPI | All versions to 2.1 | None |
wger PyPI | All versions to 2.1 | None |
wger PyPI | All versions to 2.1 | None |
How do I fix CVE-2026-46434?
No fix has been published for CVE-2026-46434 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-46434 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46434 exists.
Sources
Also known as GHSA-x249-cx55-2h87, PYSEC-2026-4316.