---
id: CVE-2026-43976
title: 'wger is a free, open-source workout and fitness manager'
summary: >-
  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.gy…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N'
cwe:
  - CWE-863
vendor: wger-project
product: wger
affected:
  - wger < 2.6
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T18:17:20.770'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-43976'
references:
  - url: 'https://github.com/wger-project/wger/releases/tag/2.6'
    label: security-advisories@github.com
  - url: >-
      https://github.com/wger-project/wger/security/advisories/GHSA-c72h-82w6-rqfp
    label: security-advisories@github.com
  - url: >-
      https://github.com/wger-project/wger/security/advisories/GHSA-c72h-82w6-rqfp
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-c72h-82w6-rqfp'
  - url: 'https://github.com/wger-project/wger'
  - url: 'https://pypi.org/project/wger'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-43976'
  - url: >-
      https://github.com/wger-project/wger/commit/b51f472ab2f790d8b4e67b4371bd6d1915af2930
  - url: >-
      https://github.com/wger-project/wger/commit/e1d329ff4ef6213b0a1adc5daf115e6d8981190c
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4313.yaml
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - pip
  - osv
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-07T17:22:26.839960Z'
aliases:
  - GHSA-c72h-82w6-rqfp
  - PYSEC-2026-4313
ecosystem: pip
ingestedAt: '2026-10-07T14:33:21.953Z'
epss: 0.00219
epssPercentile: 0.12365
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-43976)

Affected packages:

- `wger <= 2.1`

Source: https://github.com/advisories/GHSA-c72h-82w6-rqfp
