{"id":"CVE-2026-46434","summary":"wger: Trainer Privilege Escalation - Improper Privilege Management","details":"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.","aliases":["GHSA-x249-cx55-2h87"],"modified":"2026-10-09T02:49:23.612398843Z","published":"2026-10-07T13:55:19.566Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46434.json"},"references":[{"type":"WEB","url":"https://github.com/wger-project/wger/releases/tag/2.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46434.json"},{"type":"ADVISORY","url":"https://github.com/wger-project/wger/security/advisories/GHSA-x249-cx55-2h87"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46434"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wger-project/wger","events":[{"introduced":"0"},{"fixed":"e1d70bcc38cd56ae4a254dca1713c404d069f319"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"2.6"}]}}],"versions":["2.5","2.4","2.3","2.0","1.9","1.8","1.7","1.5","1.4","1.3","1.2","1.1","1.0.3","1.0.2","1.0.1","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46434.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"}]}