Improper privilege management in wger - CVE-2026-43978
Published: May 18, 2026
wger
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges and impersonate a gym manager or general manager account.
The vulnerability exists due to improper privilege management in the trainer-login endpoint in wger/core/views/user.py when processing chained trainer-login requests. A remote user can perform a legitimate switch into a low-privileged user and then send a subsequent trainer-login request to impersonate a higher-privileged account to escalate privileges and impersonate a gym manager or general manager account.
Exploitation requires access to a gym trainer account and a target manager account within the same gym.