CVE-2026-40474
wger is a free, open-source workout and fitness manager. In …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/wger-project/wger/commit/47ee5af93b3ced24b9f94b0a8b9296b50bc9523f
- github.com/wger-project/wger/releases/tag/2.5
- github.com/wger-project/wger/security/advisories/GHSA-xppv-4jrx-qf8m
- github.com/advisories/GHSA-xppv-4jrx-qf8m
- nvd.nist.gov/vuln/detail/CVE-2026-40474
- nvd.nist.gov/vuln/detail/CVE-2026-40474
- cve.org/CVERecord?id=CVE-2026-40474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.