CVE-2026-46434
HIGH 7.1CVSS 3.1wger: Trainer Privilege Escalation - Improper Privilege Management
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.
- Published
- 7 Oct 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-269
- Also known as
- GHSA-x249-cx55-2h87PYSEC-2026-4316
- Sources
- NVDJSONOSV GHSA-x249-cx55-2h87JSONOSV PYSEC-2026-4316JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | wger | <= 2.1 |
References
- https://github.com/wger-project/wger/releases/tag/2.6 · WEB
- https://github.com/wger-project/wger/security/advisories/GHSA-x249-cx55-2h87 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-46434 · ADVISORY
- https://github.com/wger-project/wger/commit/9be2d5f2b4559f9a9d5b3f3b3cdadcfef449f645 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4316.yaml · WEB
- https://github.com/wger-project/wger · PACKAGE
- https://pypi.org/project/wger · WEB, PACKAGE
- https://github.com/advisories/GHSA-x249-cx55-2h87 · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 7 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Oct 2026)