# wger cross-tenant account deletion and deactivation in core user views

Source: https://junglewise.ai/threats/wger-cross-tenant-account-deletion-and-deactivation-in-core-user-views-07337a2a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-20. Updated: 2026-05-20  
License: CC BY 4.0 with a link back

Severity: high · CVSS 8.5 · Published 2026-05-20

wger is a fitness and gym management application. A vulnerability exists where gym staff members with specific management permissions can delete, deactivate, or reactivate user accounts they should not have access to. This could lead to permanent loss of customer data (workouts, nutrition plans, contracts) and service outages for affected users.

Technologies: [wger (PyPI)](https://junglewise.ai/threats/technologies/wger). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** High severity, with a CVSS score of 8.5, published 20 May 2026.

**Which products and versions are affected?** wger (PyPI) <= 2.5.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is This vulnerability attacked?** It is attacked over the network, in a network appliance.

**Am I affected?** Check whether you run wger (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This is an incomplete-fix variant of CVE-2026-43948. While several views were migrated to use a safe 'is_same_gym' helper, three views in 'wger/core/views/user.py' (delete, UserDeactivateView, and UserActivateView) still use raw integer comparisons for gym IDs. When both an attacker (with 'gym.manage_gym' permissions) and a victim have no assigned gym (gym_id is None), the comparison 'None != None' evaluates to False, bypassing the intended gym-scope authorization guard. An attacker can enumerable victim IDs and permanently delete accounts or lock users out. The deletion occurs even if the application subsequently returns a 500 error during redirection.

## Affected products

- wger-project wger <= 2.5

## Timeline

- 2026-05-08: other: Vulnerability confirmed on latest Docker build
- 2026-05-14: disclosed
- 2026-05-20: advisory

## References

- [https://api.github.com/users/HiyokoSauna37](https://api.github.com/users/HiyokoSauna37)
- [https://github.com/HiyokoSauna37](https://github.com/HiyokoSauna37)
- [https://api.github.com/users/HiyokoSauna37/gists%7B/gist_id%7D](https://api.github.com/users/HiyokoSauna37/gists%7B/gist_id%7D)
- [https://api.github.com/users/HiyokoSauna37/repos](https://api.github.com/users/HiyokoSauna37/repos)
- [https://avatars.githubusercontent.com/u/263803677?v=4](https://avatars.githubusercontent.com/u/263803677?v=4)
- [https://api.github.com/users/HiyokoSauna37/events%7B/privacy%7D](https://api.github.com/users/HiyokoSauna37/events%7B/privacy%7D)

## Related threats

- [wger authorization bypass in workout log entry creation](https://junglewise.ai/threats/cve-2026-46438-wger-cross-user-data-corruption-via-missing-ownership-check-on)
- [wger Trainer privilege escalation in user deactivation](https://junglewise.ai/threats/cve-2026-46434-wger-trainer-privilege-escalation-improper-privilege-management)
- [wger API credentials remain valid after logout/password change](https://junglewise.ai/threats/cve-2026-46437-wger-api-credentials-remain-valid-after-logout-password-change)
- [wger trainer_login CSRF bypass via GET request](https://junglewise.ai/threats/cve-2026-45161-wger-trainer-login-accepts-get-csrf-bypass-enables-forced-session)
- [wger gym-scope guard bypass allows cross-tenant admin notes leak](https://junglewise.ai/threats/cve-2026-43976-wger-cross-tenant-admin-notes-contracts-leak-via-gym-none-bypass)
