Vulnerabilities

Security incident · CVE-2026-46434

wger: Trainer Privilege Escalation - Improper Privilege Management

Published Oct 7, 2026 · catalog updated Oct 26, 2026 · wger: Trainer Privilege Escalation

Last checked Oct 27, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2026-46434. EPSS is 0.22%. Act only if a listed version of wger: Trainer Privilege Escalation is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (wger: Trainer Privilege Escalation).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High7.1
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.22%
Remediation
Advisory link
Affected products
PyPI wger

### Summary A user with only the permission can deactivate any account in the same gym, including and accounts. The grants access to anyone holding **any one** of , , or (OR logic via ), and performs no privilege-hierarchy check to prevent a lower-privileged role from disabling a higher-privileged one. ### Details (file: , line 378) is configured with: (file: , line 48) treats this tuple as an OR check -- any single permission is sufficient: The method only verifies same-gym membership: There is **no check** preventing a trainer from targeting a manager. The same vulnerability exists in (line 415). An additional contributing factor: in (line 102) **always** includes in the assignable roles, meaning any gym manager can create trainer accounts -- which can then deactivate the manager who created them. ### PoC #### Prerequisites - A gym with at least two users: one with role (victim) and one with role (attacker) - Both users belong to the same gym #### Attack Steps The manager's account is immediately set to . The manager can no longer log in. #### Proof of Concept Script #### Proof of Concept Output ### Impact 1. **Gym Management Lockout:** A trainer can deactivate every manager account in their gym, effectively seizing control of the gym's administrative functions. 2. **Denial of Service:** Deactivated managers cannot log in, manage members, or perform any administrative tasks until a (superadmin) or a Django superuser manually re-activates their accounts. 3. **Abuse Chain:** Since always includes in assignable roles, any manager can unknowingly create the account that will later lock them out. ### Fix Add a privilege hierarchy check in and :

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • PyPI wger0 → 2.1

How to fix CVE-2026-46434

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-46434. EPSS is 0.22%. Act only if a listed version of wger: Trainer Privilege Escalation is installed.

Which versions are affected?

Compare what you have installed with 0 → 2.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-269: Improper Privilege Management. EPSS 0.22%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 7, 2026 · GitHub Advisory Database

    Detected

    ### Summary A user with only the permission can deactivate any account in the same gym, including and accounts. The grants access to anyone holding **any one** of , , or (OR logic via ), and performs no privilege-hierarchy check to prevent a lower-privileged role from disabling a higher-privileged one. ### Details (file: , line 378) is configured with: (file: , line 48) treats this tuple as an OR

  2. Oct 26, 2026 · GitHub Advisory Database

    Fix available

    wger fixed in 2.1

  3. Oct 26, 2026 · GitHub Advisory Database

    Updated

    ### Summary A user with only the permission can deactivate any account in the same gym, including and accounts. The grants access to anyone holding **any one** of , , or (OR logic via ), and performs no privilege-hierarchy check to prevent a lower-privileged role from disabling a higher-privileged one. ### Details (file: , line 378) is configured with: (file: , line 48) treats this tuple as an OR

Sources

References

Freshness

Last verified in this catalog Oct 26, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • CVE.orgOct 27, 2026
  • GitHub Advisory DatabaseOct 26, 2026
  • OpenSSF OSV / OSV ScannerOct 26, 2026