CVE-2026-40474
Last modified
CVE-2026-40474 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wger | Wger | < 2.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40474?
How severe is CVE-2026-40474?
How do I fix CVE-2026-40474?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40468Integer overflow vulnerability has been found in "builtin.c"…9.1
- CVE-2026-40469Integer overflow vulnerability has been found in "builtin.c"…9.1
- CVE-2026-40470A critical XSS vulnerability affected hackage-server and hac…9.9
- CVE-2026-40471hackage-server lacked Cross-Site Request Forgery (CSRF) prot…9.6
- CVE-2026-40472In hackage-server, user-controlled metadata from .cabal file…9.9
- CVE-2026-40473The camel-mina component's MinaConverter.toObjectInput(IoBuf…8.8
- CVE-2026-40476graphql-go is a Go implementation of GraphQL. In versions 15…7.5
- CVE-2026-40477Thymeleaf is a server-side Java template engine for web and …9
- CVE-2026-40478Thymeleaf is a server-side Java template engine for web and …9
- CVE-2026-40479Kimai is an open-source time tracking application. In versio…5.4
- CVE-2026-4048OS Command Injection Remote Code Execution Vulnerability in …7.2
- CVE-2026-40480ChurchCRM is an open-source church management system. In ver…7.1
Are you affected by CVE-2026-40474?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
