CVE-2026-40474 json
wger has Broken Access Control in the Global Gym Configuration Update Endpoint
published 2026-04-16 6 mo ago modified 2026-07-13 3 mo ago also GHSA-xppv-4jrx-qf8m , PYSEC-2026-3424 , EUVD-2026-23564
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
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.
Patch / fix
- wger wger 2.5
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/wger-project/wger/security/advisories/GHSA-xppv-4jrx-qf8m referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| OSV | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | wger | <=2.1 |
no fix listed |
Affected products
- wger-project wger
Classification
References
-
github.com
/wger-project/wger/commit/47ee5af93b3ced24b9f94b0a8b9296b50bc9523f
web, patch
-
github.com
/wger-project/wger/security/advisories/GHSA-xppv-4jrx-qf8m
web, exploit, vendor-advisory
-
github.com
/wger-project/wger/releases/tag/2.5
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-40474
advisory
-
github.com
/wger-project/wger
package
-
pypi.org
/project/wger
package
-
github.com
/advisories/GHSA-xppv-4jrx-qf8m
advisory
Sources
- CVE List CVE-2026-40474
- GitHub Advisory GHSA-xppv-4jrx-qf8m
- NVD CVE-2026-40474
- OSV PYSEC-2026-3424
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.