CVE-2026-40474: CWE-284: Improper Access Control in wger-project wger
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.
AI Analysis
Technical Summary
In wger versions prior to 2.5, the GymConfigUpdateView class specifies a permission requirement ('config.change_gymconfig') but inherits from WgerFormMixin instead of WgerPermissionMixin, causing the permission check to be bypassed at runtime. Because GymConfig is an ownerless singleton, any authenticated user can modify the global gym configuration. This modification triggers side effects such as bulk-updating user profile gym assignments, effectively escalating privileges vertically to control the entire installation's configuration. The vulnerability is addressed in wger version 2.5.
Potential Impact
An authenticated user without proper permissions can modify the global gym configuration, resulting in a vertical privilege escalation. This allows unauthorized changes affecting all users of the installation, potentially impacting data integrity and system behavior. The CVSS score of 7.6 (high) reflects the network attack vector, low attack complexity, required privileges, no user interaction, and significant impact on integrity and availability.
Mitigation Recommendations
Upgrade to wger version 2.5 or later, where this vulnerability is fixed by proper enforcement of permission checks in GymConfigUpdateView. Since no official patch link or advisory is provided, users should verify the version and update accordingly. Patch status is not explicitly confirmed beyond the fix in version 2.5, so check the vendor's repository or release notes for confirmation.
CVE-2026-40474: CWE-284: Improper Access Control in wger-project wger
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In wger versions prior to 2.5, the GymConfigUpdateView class specifies a permission requirement ('config.change_gymconfig') but inherits from WgerFormMixin instead of WgerPermissionMixin, causing the permission check to be bypassed at runtime. Because GymConfig is an ownerless singleton, any authenticated user can modify the global gym configuration. This modification triggers side effects such as bulk-updating user profile gym assignments, effectively escalating privileges vertically to control the entire installation's configuration. The vulnerability is addressed in wger version 2.5.
Potential Impact
An authenticated user without proper permissions can modify the global gym configuration, resulting in a vertical privilege escalation. This allows unauthorized changes affecting all users of the installation, potentially impacting data integrity and system behavior. The CVSS score of 7.6 (high) reflects the network attack vector, low attack complexity, required privileges, no user interaction, and significant impact on integrity and availability.
Mitigation Recommendations
Upgrade to wger version 2.5 or later, where this vulnerability is fixed by proper enforcement of permission checks in GymConfigUpdateView. Since no official patch link or advisory is provided, users should verify the version and update accordingly. Patch status is not explicitly confirmed beyond the fix in version 2.5, so check the vendor's repository or release notes for confirmation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-13T19:50:42.113Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e2abc2bdfbbecc5996b9f5
Added to database: 4/17/2026, 9:53:06 PM
Last enriched: 4/17/2026, 10:08:09 PM
Last updated: 4/21/2026, 8:55:59 AM
Views: 32
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.