CVE-2026-40474
published high CVSS 3.1 · 7.6wger has Broken Access Control in the Global Gym Configuration Update Endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wger-project | — | wger< 2.5 | Affected | Not stated | GitHub_M |
Description
wger is a free, open-source workout and fitness manager. In versions 2.5 and below, the GymConfigUpdateView declares permission_required = 'config.change_gymconfig' but inherits WgerFormMixin instead of WgerPermissionMixin, so the permission is never enforced at runtime. Since GymConfig is an ownerless singleton, any authenticated user can modify the global gym configuration, triggering save() side effects that bulk-update user profile gym assignments — a vertical privilege escalation to installation-wide configuration control. This issue is fixed in version 2.5.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wger-project | wger | < 2.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-862 CWE-862: Missing Authorization
References
3Provider assertions
2GitHub_M · cna
wger has Broken Access Control in the Global Gym Configuration Update Endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 72d6a9ca561b49dab93bf1a14eeb660424cbb0e52e1a47a1af6ce48eaf4cf3a0
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record