CVE-2026-43976

wger: cross-tenant admin notes/contracts leak via gym=None bypass (5 views)

Published Oct 7, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wger-project
Wger-project wger
Vendors & Products Wger-project
Wger-project wger
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 5:26 PM
Reserved
May 4, 2026, 8:24 PM
Status
Deferred
Published
Oct 7, 2026, 2:17 PM
Modified
Oct 7, 2026, 6:17 PM