Auth bypass in Wger-Project Wger
CVE-2026-86254
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.
Vulnerability class: Broken Access Control
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-86254?
- CVE-2026-86254 is a medium-severity vulnerability in Wger-Project Wger, classified under Missing Authorization. CVSS score: 6.8/10. Published 2026-09-06.
- How severe is CVE-2026-86254?
- Medium severity. CVSS v3 base score is 6.8 out of 10.