Skip to main content

wger CVE-2026-86254

| EUVDEUVD-2026-72110 MEDIUM
Missing Authorization (CWE-862)
2026-09-06 VulnCheck GHSA-qc8h-h7c3-v2gh
6.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain gym.manage_gym permission with gym=None (default unlinked state)
  2. Delivery
    Enumerate sequential victim PKs via /en/user/<pk>/overview
  3. Exploit
    Craft POST request to delete, deactivate, or activate endpoint
  4. Execution
    Raw None != None comparison returns False, bypassing gym-scope guard
  5. Impact
    Permanently delete or lock out target user accounts

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concurrent conditions: (1) the attacker must hold a wger account with the gym.manage_gym permission AND have gym=None (unlinked from any specific gym - this is the default state for any newly provisioned staff account before an administrator assigns them to a gym); and (2) each victim account must also have gym=None. If either the attacker or any target victim has a non-None gym assignment, the raw integer comparison correctly enforces scope separation and the bypass does not apply. The gym.manage_gym permission must be explicitly granted by an administrator, so exploitation cannot originate from a default end-user or athlete account. The attack is limited to the three write-side operations - permanent account deletion, deactivation (lockout), and re-activation (undoing defensive deactivation); the impersonation chain via UserDetailView/trainer_login is blocked by the correctly patched is_same_gym() helper at the dispatch layer.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/VI:H/VA:H) accurately captures that exploitation requires a specific precondition - both attacker and victim must have gym=None - which raises effective complexity. Within a single wger deployment, however, this state is the default for any newly created gym staff account before an administrator assigns them to a gym, making it an unremarkable operational condition rather than a rare edge case. EPSS data is not available, and this CVE is not listed in the CISA KEV catalog; no public exploit code has been identified at time of analysis. The integrity and availability consequences within any active instance are severe: the delete vector is permanent and irreversible, and deactivation can silently lock out platform users. The overall deployment footprint is niche, but even a mid-sized community fitness network operating wger - such as one in gniezno or a similar municipal installation - should treat any unlinked (gym=None) staff account holding gym.manage_gym as an immediate hardening target. The CVSS 4.0 base score of 6.1 is plausible but arguably understates the irreversibility of the delete vector, which causes permanent data loss with no recovery path.

Exploit ScenarioDerived

A gym staff member possesses a wger account with gym.manage_gym permission that has not been linked to a gym (gym=None, the default post-provisioning state). The attacker enumerates victim user PKs via /en/user/<pk>/overview to identify other gym=None accounts, then issues POST requests to /en/user/<pk>/delete for each target, bypassing the gym-scope check because the raw None != None comparison evaluates to False and the guard does not fire. No public exploit code has been identified at time of analysis, but the GHSA advisory provides sufficient technical detail - including file paths, line numbers, and reproduction steps against a public Docker image - that exploitation is straightforward for any attacker with the advisory in hand.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 06, 2026

Incomplete authorization fix in wger through master exposes three user-management views in wger/core/views/user.py to the same None != None gym-scope bypass previously identified in CVE-2026-43948 (GHSA-mhc8-p3jx-84mm). A gym staff member holding gym.manage_gym permission whose account has gym=None - the default unlinked state for any newly provisioned staff account - can permanently delete, deactivate, or re-activate any other user also carrying gym=None, exploiting a raw integer comparison that evaluates None != None as False instead of blocking the operation. No vendor-released patch has been identified at time of analysis; all wger versions through the master Docker image build of 2026-05-08 are confirmed affected.

RemediationAI

No vendor-released patch has been identified at time of analysis; the advisory at https://github.com/wger-project/wger/security/advisories/GHSA-mw8f-w6p8-xrf4 lists the fixed version as None. Administrators should apply the following compensating controls while monitoring upstream for a release. First, immediately audit all accounts holding gym.manage_gym permission and assign every such account to a specific gym (gym != None) - this eliminates the attacker-side precondition and is the most effective single mitigation, with no operational trade-off for legitimately linked staff. Second, revoke gym.manage_gym from any account that does not operationally require it, minimizing the attack surface. Third, consider restricting network access to /en/user/<pk>/delete, /en/user/<pk>/deactivate, and /en/user/<pk>/activate via a reverse-proxy ACL scoped to administrative IP ranges; note this will require alternate workflows for any gym staff who legitimately manage users from outside those ranges. Finally, enable application-layer logging for these three endpoints and alert on anomalous patterns, as sequential PK targeting is detectable. The VulnCheck advisory at https://www.vulncheck.com/advisories/wger-incomplete-authorization-fix-cross-tenant-account-deletion provides additional technical context.

Affected VersionsENISA

wger 0 ≤master

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

wger is a Django-based open-source workout and gym-management web application (cpe:2.3:a:wger-project:wger:*:*:*:*:*:*:*:*). The root cause is CWE-862 (Missing Authorization): the gym-scope guard in wger/core/views/user.py compares raw integer gym IDs (userprofile.gym_id != ...) to determine whether a staff member is authorized to act on a given user. In Python, None != None evaluates to False, so the guard silently passes when both the acting staff member and the target user have gym=None. The prior partial fix (GHSA-mhc8-p3jx-84mm) introduced the is_same_gym() helper - which explicitly rejects None values - and applied it to five views in wger/gym/views/. Three write-side views in wger/core/views/user.py were not migrated: the delete view (line 131), UserDeactivateView (line 405), and UserActivateView (line 442). A fourth affected location (UserDetailView.get_context_data, line 587) leaks UI button visibility but its underlying dispatch and trainer_login views retain the patched is_same_gym() helper, blocking the impersonation chain at runtime. Victim user primary keys are sequential integers, trivially enumerable via /en/user/<pk>/overview.

Know when Wger gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.1 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

AC:H because both attacker and victim must have gym=None; PR:L for the required gym.manage_gym permission; no confidentiality impact from these three write-side views.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

wger versions through master contain an incomplete authorization bypass in wger/core/views/user.py where three views retain the original gym-scope check using raw integer comparison instead of the is_same_gym() helper, allowing gym staff with gym=None to delete, deactivate, or activate any other user with gym=None. Attackers with gym.manage_gym permission and gym=None affiliation can permanently delete user accounts, lock users out via deactivation, or undo defensive deactivations by exploiting the None != None comparison edge case.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche open-source gym and workout management application
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Wger

View all
CVE-2022-2650 CRITICAL POC
9.8 Nov 24

Improper Restriction of Excessive Authentication Attempts in GitHub repository wger-project/wger prior to 2.2. Rated cri

CVE-2023-38758 MEDIUM POC
5.4 Aug 08

Cross Site Scripting vulnerability in wger Project wger Workout Manager v.2.2.0a3 allows a remote attacker to gain privi

CVE-2023-38759 HIGH
8.8 Aug 08

Cross Site Request Forgery (CSRF) vulnerability in wger Project wger Workout Manager 2.2.0a3 allows a remote attacker to

CVE-2026-27839 MEDIUM POC
4.3 Feb 26

Wger versions up to 2.4 allow authenticated users to access other users' private nutrition plans through insecure direct

CVE-2026-27835 MEDIUM POC
4.3 Feb 26

Wger versions up to 2.4 expose all users' repetition configuration data to any authenticated attacker due to missing aut

CVE-2026-86255 HIGH
7.1 Sep 06

Uncontrolled resource consumption in wger before 2.5 allows any authenticated user to exhaust server worker threads and

CVE-2026-27838 LOW POC
3.1 Feb 26

wger is a free, open-source workout and fitness manager. Five routine detail action endpoints check a cache before calli

CVE-2026-46434 HIGH
7.1 Oct 07

Account-deactivation privilege escalation in wger before 2.6 lets an authenticated user who holds only the gym_trainer r

CVE-2026-46438 MEDIUM
6.5 Oct 07

Cross-user integrity corruption in wger versions prior to 2.6 allows authenticated attackers to inject arbitrary workout

CVE-2026-45161 MEDIUM
5.4 Oct 07

wger before 2.6 contains a CSRF bypass (CWE-352) that lets an attacker-controlled web page silently rebind an authentica

CVE-2026-82544 MEDIUM
5.3 Aug 30

Cross-site request forgery in wger's gym password-reset endpoint allows a remote attacker to force an arbitrary member's

CVE-2026-86256 MEDIUM
5.1 Sep 06

Open redirect in wger's trainer_login view allows an attacker to redirect an authenticated trainer's browser to an arbit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy