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.
INFO
Published Date :
2026-04-17T21:39:03.677Z
Last Modified :
2026-04-20T16:08:12.427Z
Source :
GitHub_M
AFFECTED PRODUCTS
The following products are affected by CVE-2026-40474 vulnerability.
| Vendors | Products |
|---|---|
| Wger |
|
| Wger-project |
|
REFERENCES
Here, you will find a curated list of external links that provide in-depth information to CVE-2026-40474.