Vulnerability · Published Oct 7, 2026 · Assigned by GitHub_M
CVE-2026-46434wger: Trainer Privilege Escalation - Improper Privilege Management
High 7.1
In plain English
A high-severity privilege mismanagement in wger from wger-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wger | no fix listed | GHSA-x249-cx55-2h87 |
| PyPI | wger | no fix listed | PYSEC-2026-4316 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| wger-project | wger | < 2.6 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
References
- https://github.com/wger-project/wger/security/advisories/GHSA-x249-cx55-2h87 x_refsource_CONFIRM
- https://github.com/wger-project/wger/releases/tag/2.6 x_refsource_MISC