Skip to content
OpenAdvisories
High · 7.6 CVE-2026-40474 EUVD-2026-23564GHSA-xppv-4jrx-qf8mPYSEC-2026-3424

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

Published Apr 17, 2026 · Updated Apr 20, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
wger-project wger < 2.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI wger <= 2.1 — GHSA-xppv-4jrx-qf8m

References