CVE-2026-43976: wger · cross-tenant admin notes/contracts leak via gym=None bypass (5 views)
Affects wgerSource GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIwger | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available that corrects the gym-scope guard to explicitly check for None gym IDs and deny access if the trainer's gym is None or does not match the member's gym. Additionally, querysets must be tightened with secondary filters scoped to the trainer's gym to prevent unauthorized data disclosure. The vendor or maintainers should extract a shared helper function to enforce consistent gym-scoping checks across all affected views. Until patched, restrict permissions for users with gym=None or avoid assigning gym=None to trainers with sensitive permissions.
Description
wger contains an access control vulnerability affecting five gym management views where a gym-scope guard fails when both the requesting trainer and target user have no gym assigned (gym=None). This flaw allows an authenticated trainer with specific permissions and no gym assignment to access private admin notes, documents, contracts, user configurations, and permissions of any other unaffiliated user with gym=None. The root cause is a comparison that incorrectly allows access when both gym values are None, combined with querysets that lack secondary gym-scoped filtering.
References
- github.com/wger-project/wger/security/advisories/GHSA-c72h-82w6-rqfp (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-43976 (opens in a new tab)
- github.com/wger-project/wger/commit/b51f472ab2f790d8b4e67b4371bd6d1915af2930 (opens in a new tab)
- github.com/wger-project/wger/commit/e1d329ff4ef6213b0a1adc5daf115e6d8981190c (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4313.yaml (opens in a new tab)
- github.com/wger-project/wger (opens in a new tab)
- github.com/wger-project/wger/releases/tag/2.6 (opens in a new tab)
- pypi.org/project/wger (opens in a new tab)