CVE-2026-40474

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:wger:wger:*:*:*:*:*:*:*:*

History

24 Apr 2026, 14:46

Type Values Removed Values Added
First Time Wger
Wger wger
CPE cpe:2.3:a:wger:wger:*:*:*:*:*:*:*:*
References () https://github.com/wger-project/wger/commit/47ee5af93b3ced24b9f94b0a8b9296b50bc9523f - () https://github.com/wger-project/wger/commit/47ee5af93b3ced24b9f94b0a8b9296b50bc9523f - Patch
References () https://github.com/wger-project/wger/releases/tag/2.5 - () https://github.com/wger-project/wger/releases/tag/2.5 - Release Notes
References () https://github.com/wger-project/wger/security/advisories/GHSA-xppv-4jrx-qf8m - () https://github.com/wger-project/wger/security/advisories/GHSA-xppv-4jrx-qf8m - Exploit, Vendor Advisory

17 Apr 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-17 22:16

Updated : 2026-04-24 14:46


NVD link : CVE-2026-40474

Mitre link : CVE-2026-40474

CVE.ORG link : CVE-2026-40474


JSON object : View

Products Affected

wger

  • wger
CWE
CWE-284

Improper Access Control

CWE-862

Missing Authorization