Skip to main content
← All vulnerabilities
CVE-2026-40474GHSA-XPPV-4JRX-QF8MPYSEC-2026-3424

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • wger-project wger

    fixed in 2.5

  • wgerPyPI

    through 2.1

References 3

GitHub · wger-project/wger