CVE-2026-43976
HIGH 7.1CVSS 3.1wger: cross-tenant admin notes/contracts leak via gym=None bypass (5 views)
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
- 7 Oct 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-863
- Also known as
- GHSA-c72h-82w6-rqfpPYSEC-2026-4313
- Sources
- NVDJSONOSV GHSA-c72h-82w6-rqfpJSONOSV PYSEC-2026-4313JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | wger | <= 2.1 |
References
- https://github.com/wger-project/wger/releases/tag/2.6 · WEB
- https://github.com/wger-project/wger/security/advisories/GHSA-c72h-82w6-rqfp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-43976 · ADVISORY
- https://github.com/wger-project/wger/commit/b51f472ab2f790d8b4e67b4371bd6d1915af2930 · WEB
- https://github.com/wger-project/wger/commit/e1d329ff4ef6213b0a1adc5daf115e6d8981190c · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4313.yaml · WEB
- https://github.com/wger-project/wger · PACKAGE
- https://pypi.org/project/wger · WEB, PACKAGE
- https://github.com/advisories/GHSA-c72h-82w6-rqfp · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 7 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Oct 2026)