Skip to main content
CVE-2026-43978VulnerabilityPublished Updated

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

Affects wgerSource GCVE Database

0
Compare
Authoritative record:CVE-2026-43978· High 8.1

Not known to be exploited · CVSS 8.1 High.

Data as of 6 Nov 2026, 01:20 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIwgerAffected
  • <=2.5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The root cause is a logical error in the permission check condition in wger/core/views/user.py. Remediation requires correcting the permission check logic to ensure that the session flag 'trainer.identity' does not bypass permission verification and that the target-user protection applies correctly regardless of session state. Until a fix is released, restrict trainer account privileges and monitor for suspicious trainer-login activity.

Description

A privilege escalation vulnerability in wger allows a gym trainer to impersonate higher-privileged accounts such as gym managers by chaining calls to the trainer-login endpoint. This occurs because a session flag set during a legitimate trainer login bypasses permission checks on subsequent trainer-login calls, enabling unauthorized account switching. The flaw is due to a logical error in the permission check condition in the source code. Exploiting this vulnerability grants full gym administration capabilities including access to sensitive member data and management functions.

References

Community reviews

Loading reviews…