Skip to main content
← All vulnerabilities
CVE-2026-43978GHSA-9QPR-VC49-HQG2PYSEC-2026-3420

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • wger-project wger

    fixed in 2.6

  • wgerPyPI

    through 2.5

References 1

GitHub · wger-project/wger