Improper privilege management in wger - CVE-2026-43978

 

Improper privilege management in wger - CVE-2026-43978

Published: May 18, 2026


Vulnerability identifier: #VU131758
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-43978
CWE-ID: CWE-269
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: wger Project
Affected software:
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.


How to mitigate CVE-2026-43978

Install security update from vendor's website.

Sources