# CVE-2026-46434: wger: Trainer Privilege Escalation - Improper Privilege Management

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T13:55:19.566Z
- Modified: 2026-10-26T16:00:25.913Z
- Also known as: GHSA-x249-cx55-2h87, PYSEC-2026-4316
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- wger-project wger: < 2.6
- wger (PyPI): up to 2.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.1 High `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> (exploit, web)
- <https://github.com/wger-project/wger/releases/tag/2.6> (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> (package, web)
- <https://github.com/advisories/GHSA-x249-cx55-2h87> (advisory)

## Sources

- CVE List: [CVE-2026-46434](https://www.cve.org/CVERecord?id=CVE-2026-46434), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-x249-cx55-2h87](https://github.com/advisories/GHSA-x249-cx55-2h87), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-46434](https://nvd.nist.gov/vuln/detail/CVE-2026-46434), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4316](https://osv.dev/vulnerability/PYSEC-2026-4316), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-46434 · Whole record: https://cve.day/CVE-2026-46434.json · Rebuilt by cve.day 2026-11-25T22:59:43.032Z
