CVE-2026-40474CWE-284CWE-862

wger has Broken Access Control in the Global Gym Configuration Update Endpoint

High · published April 17, 2026

CVSS v3.1
7.6
EPSS
0%
Percentile
32.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00397 · 32.7th percentile
Weaknesses
CWE-284 · Improper Access Control; CWE-862 · Missing Authorization
Published
2026-04-17T21:39Z
EPSS history
Timeline
  • 17 APR 21:39Z
    wger has Broken Access Control in the Global Gym Configuration Update Endpoint
    cvelistv5