Vulnerability · Published Jul 16, 2026 · Assigned by GitHub_M

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

High 8.1

In plain English

A high-severity privilege mismanagement in wger from wger-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.3%top 81.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIwgerno fix listedGHSA-9qpr-vc49-hqg2
PyPIwgerno fix listedPYSEC-2026-3420

Affected products (as reported)

VendorProductVersions
wger-project wger < 2.6

Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References