CVE-2026-86254
mediumwger versions through master contain an incomplete authorization bypass in wger/core/views/user.py where three views retain the original gym-scope check using…
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.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/wger-project/wger/security/advisories/GHSA-mw8f-w6p8-xrf4 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/wger-incomplete-authorization-fix-cross-tenant-accoun... disclosure@vulncheck.com
- https://github.com/wger-project/wger/security/advisories/GHSA-mw8f-w6p8-xrf4 134c704f-9b21-4f2e-91b3-4a467353bcc0
