Improper Privilege Management Affecting wger package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-WGER-21693643
  • published24 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

NewCVE-2026-46434  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Privilege Management via UserDeactivateView and UserActivateView in wger/core/views/user.py, where WgerMultiplePermissionRequiredMixin applies OR logic to the permission_required tuple, granting any user holding the gym.gym_trainer permission the ability to deactivate or activate accounts in the same gym. The dispatch() method checks only that the target belongs to the same gym, with no privilege-hierarchy check, so a trainer can deactivate gym_manager and general_gym_manager accounts, locking those users out of the application. The same flaw exists in UserActivateView, allowing a trainer to re-activate accounts as well.

CVSS Base Scores

version 4.0
version 3.1