CVE-2026-43978CWE-269

wger: Privilege escalation via trainer-login session chaining allows gym trainers to impersonate gym managers

High · published July 16, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
29.9
In the wild
Unconfirmed
What it is

wger is a free, open-source workout and fitness manager. In versions prior to 2.6, a gym trainer can escalate their session to any higher-privileged account (gym manager, general manager) by chaining two calls to the trainer-login endpoint. Once a trainer performs a legitimate switch into a low-privileged user, the session flag trainer.identity is set and this flag alone bypasses the permission check on all subsequent trainer-login calls. This grants full gym administration capabilities including viewing all member data, modifying contracts, managing gym configuration, and accessing other trainers' and managers' personal information. This issue has been fixed in version 2.6.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00371 · 29.9th percentile
Weakness
CWE-269 · Improper Privilege Management
Published
2026-07-16T22:11Z
EPSS history
Timeline
  • 16 JUL 22:11Z
    wger: Privilege escalation via trainer-login session chaining allows gym trainers to impersonate gym managers
    cvelistv5