Description
wger is a free, open-source workout and fitness manager. Prior to version 2.6, five gym management views in wger apply a flawed gym-scope guard (`gym_a != gym_b`) that silently passes when both operands are `None`. A trainer with `gym.gym_trainer` and `gym.add_adminusernote` permissions and no gym assignment (`gym=None`) can read private admin notes, uploaded documents, gym contracts, user configuration, and user permission data for **any other unaffiliated user** on the instance. The subsequent querysets filter only on the attacker-supplied `member_id` with no secondary gym-scoped validation, so all records are disclosed. Version 2.6 fixes the issue.
Published: 2026-10-07
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Information Disclosure via Cross‑Tenant Access
Action: Immediate Patch
AI Analysis

Impact

The flaw lies in wger’s gym‑scope guard, which compares two gym objects with a simple inequality. When both operands are None the check always passes, allowing a trainer with gym_trainer and gym.add_adminusernote permissions and no gym assignment to read private data belonging to any other unaffiliated user. This includes admin notes, uploaded documents, gym contracts, user configuration, and permission data, constituting a significant information‑disclosure vulnerability classified as CWE‑863.

Affected Systems

The affected product is wger, the open‑source workout manager from the wger‑project. Versions prior to 2.6 contain the flaw; the five gym‑management views in those releases apply the faulty guard. Version 2.6 and later ship a fix that removes the None‑bypass.

Risk and Exploitability

The CVSS score of 7.1 signals a high‑severity flaw. EPSS is not available, so the exploitation probability is uncertain, but the attack can be executed locally by any logged‑in trainer users through the normal web interface, without requiring remote code execution or network compromise. Although the vulnerability is not listed in CISA’s KEV catalog, the potential for cross‑tenant data leakage makes it a priority for swift remediation.

Generated by OpenCVE AI on October 7, 2026 at 15:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade wger to version 2.6 or later, which removes the None‑bypass in the gym‑scope guard.
  • Revoke gym_trainer and gym.add_adminusernote permissions from users who are not assigned to any gym.
  • Audit all trainer accounts to ensure that no account has gym=None while retaining high‑privilege permissions.
  • If an upgrade is not possible immediately, disable or restrict the gym.add_adminusernote functionality for unassigned users to prevent data leakage.

Generated by OpenCVE AI on October 7, 2026 at 15:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-c72h-82w6-rqfp wger: cross-tenant admin notes/contracts leak via gym=None bypass (5 views)
History

Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Wger-project
Wger-project wger
Vendors & Products Wger-project
Wger-project wger

Wed, 07 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Description wger is a free, open-source workout and fitness manager. Prior to version 2.6, five gym management views in wger apply a flawed gym-scope guard (`gym_a != gym_b`) that silently passes when both operands are `None`. A trainer with `gym.gym_trainer` and `gym.add_adminusernote` permissions and no gym assignment (`gym=None`) can read private admin notes, uploaded documents, gym contracts, user configuration, and user permission data for **any other unaffiliated user** on the instance. The subsequent querysets filter only on the attacker-supplied `member_id` with no secondary gym-scoped validation, so all records are disclosed. Version 2.6 fixes the issue.
Title wger: cross-tenant admin notes/contracts leak via gym=None bypass (5 views)
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N'}


Subscriptions

Wger-project Wger
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-07T17:26:56.782Z

Reserved: 2026-05-04T20:24:31.915Z

Link: CVE-2026-43976

cve-icon Vulnrichment

Updated: 2026-10-07T17:25:47.054Z

cve-icon NVD

Status : Deferred

Published: 2026-10-07T14:17:09.887

Modified: 2026-10-07T18:17:20.770

Link: CVE-2026-43976

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T15:45:06Z

Weaknesses