Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 97%

CVE-2026-40474: CWE-284: Improper Access Control in wger-project wger

0
High
VulnerabilityCVE-2026-40474cvecve-2026-40474cwe-284cwe-862
Published: Fri Apr 17 2026 (04/17/2026, 21:39:03 UTC)
Source: CVE Database V5
Vendor/Project: wger-project
Product: wger

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.

CVSS v3.1

Score 7.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/25/2026, 02:51:43 UTC

Technical Analysis

In wger versions 2.5 and below, the GymConfigUpdateView sets a permission requirement ('config.change_gymconfig') but inherits from WgerFormMixin instead of WgerPermissionMixin, causing the permission check to be bypassed at runtime. Since GymConfig is a singleton without an owner, any authenticated user can modify it, triggering side effects that bulk-update user profile gym assignments. This results in a vertical privilege escalation allowing unauthorized users to control global gym configuration. The vulnerability is addressed in version 2.5.

Potential Impact

An authenticated user with low privileges can escalate their permissions to gain control over the global gym configuration, affecting all users in the installation. This can lead to unauthorized changes impacting user profiles and gym assignments, compromising integrity and potentially availability of the service.

Mitigation Recommendations

Upgrade wger to version 2.5 or later, where this improper access control vulnerability is fixed. Patch status is not explicitly stated but the issue is resolved in version 2.5, so applying this official fix is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-13T19:50:42.113Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e2abc2bdfbbecc5996b9f5

Added to database: 4/17/2026, 9:53:06 PM

Last enriched: 4/25/2026, 2:51:43 AM

Last updated: 6/7/2026, 12:03:50 PM

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses