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

No configuration.

History

No history.

Information

Published : 2026-09-06 12:17

Updated : 2026-09-08 19:59


NVD link : CVE-2026-86254

Mitre link : CVE-2026-86254

CVE.ORG link : CVE-2026-86254


JSON object : View

Products Affected

No product.

CWE
CWE-862

Missing Authorization