CVE Catalog

CVE-2026-86254

MediumCVSS 6.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

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.

Risk Assessment

Unauthorized staff can permanently delete user accounts or lock users out, potentially leading to data integrity compromise and loss of system availability.

Recommendation

Upgrade wger to the latest version and modify the code in wger/core/views/user.py to use the is_same_gym() helper instead of raw integer comparison.

Other vulnerabilities in wger

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS