PT-2026-41137 · Wger · Wger
CVE-2026-43978
·
Published
2026-05-14
·
Updated
2026-07-17
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
wger version 2.5.0a2
Description
A logical error in the permission check allows an authenticated gym trainer to escalate privileges to a gym manager or general manager account. By chaining two calls to the
trainer-login endpoint, a trainer can first switch to a low-privileged user, which sets the trainer.identity session flag. This flag subsequently bypasses the permission check on further calls to the trainer-login endpoint, enabling the attacker to take over higher-privileged accounts. This allows unauthorized access to member data, contract modifications, and gym configuration management.Recommendations
Update wger to a version that corrects the logical error in
wger/core/views/user.py to ensure that the original trainer's permissions are verified and that target-user protection applies to both direct and chained login attempts.
As a temporary mitigation, restrict access to the trainer-login endpoint to only trusted administrative users.Exploit
Fix
LPE
Improper Privilege Management
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Wger