CVE-2026-43978

GHSA-9qpr-vc49-hqg2 · published 14 May 2026 · updated 6 Nov 2026

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

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
wger-project<2.6
pypi: wger<=2.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in wger (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-43978 severity on Zeptric[![CVE-2026-43978](https://zeptric.io/badge/cve/CVE-2026-43978.svg)](https://zeptric.io/cve/CVE-2026-43978)