Skip to main content
VulnerabilityPublished Updated

CVE-2026-40474: wger · Improper Access Control

Affects wgerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.6 High : upgrade to 2.5 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
7.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade wger and wger-project/wger to 2.5.

Affected software

ProductAffectedFixed in
wger-projectwgerAffected
  • <2.5
Fixed in
  • 2.5
GitHubwger-project/wgerpkg:github/wger-project/wgerOther threatsAffected
  • <2.5
Fixed in
  • 2.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…