Incorrect Authorization Affecting wger package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-WGER-17231304
  • published8 Jun 2026
  • disclosed20 May 2026
  • creditHiyokoSauna37

Introduced: 20 May 2026

CVE NOT AVAILABLE CWE-862  (opens in a new tab)
CWE-863  (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 Incorrect Authorization in the authorization process in UserDeactivateView, UserActivateView, and delete in wger/core/views/user.py due to improper gym-scope checks when both the attacker and victim have gym=None. An attacker with the gym.manage_gym permission and gym=None can permanently delete, deactivate, or reactivate any other user with gym=None by sending crafted requests to the affected endpoints.

Note:

This is only exploitable if the attacker has been granted the gym.manage_gym permission and both the attacker and victim accounts have not been linked to any gym.

CVSS Base Scores

version 4.0
version 3.1