CVE-2026-86254
6.1
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
wger versions through master contain an incomplete authorization bypass in wger/core/views/user.py where three views retain the original gym-scope check using raw integer comparison instead of the is_same_gym() helper, allowing gym staff with gym=None to delete, deactivate, or activate any other user with gym=None. Attackers with gym.manage_gym permission and gym=None affiliation can permanently delete user accounts, lock users out via deactivation, or undo defensive deactivations by exploiting the None != None comparison edge case.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| wger-project | wger | 0 <= master | affected |
Weaknesses
- CWE-862: Missing Authorization
References
- https://github.com/wger-project/wger/security/advisories/GHSA-mw8f-w6p8-xrf4
- https://www.vulncheck.com/advisories/wger-incomplete-authorization-fix-cross-tenant-account-deletion
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.