CVE-2026-40474Wger
High 7.6
Follow: this CVE · Wger · Wger We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 3.1
- 7.6
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 17, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for Wger.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | wger |
≤ 2.1 |
no fixed version | — |
| PyPI | wger |
≤ 2.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xppv-4jrx-qf8m, PYSEC-2026-3424). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wger | wger | < 2.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Exploit Vendor Advisory