TROYANOSYVIRUS
Back to CVEs

CVE-2026-40474

HIGH
7.6

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.

CVE Details

CVSS v3.1 Score7.6
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published4/17/2026
Last Modified4/17/2026
Sourcenvd
Honeypot Sightings0

Weaknesses (CWE)

CWE-284CWE-862

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.