What’s Vulnerable › Vulnerabilities
CVE-2026-86256: wger before 2.6 Open Redirect via trainer-login next parameter
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-06 · updated 2026-09-09
- Weakness: CWE-601
Description
wger before 2.6 (affected versions <= 2.5.0) contains an open redirect vulnerability in the trainer_login view (wger/core/views/user.py). After a trainer enters impersonation mode, the view redirects to the user-supplied 'next' GET parameter via HttpResponseRedirect() without validating it with url_has_allowed_host_and_scheme(). An attacker who delivers a crafted link to an authenticated trainer can redirect the trainer's browser to an attacker-controlled domain, enabling phishing and leaking the wger URL structure (including the impersonated user's user_pk) via the Referer header.
Affected products
- wger-project wger: before 2.6 — fixed in 2.6
How to fix
Upgrade to a fixed version: wger-project wger 2.6. Check the vendor advisory for mitigations.
References
- https://github.com/wger-project/wger/security/advisories/GHSA-vqv8-j3mj-wjxj
- https://www.vulncheck.com/advisories/wger-before-2.6-open-redirect-via-trainer-login-next-parameter
- https://github.com/wger-project/wger/security/advisories/GHSA-vqv8-j3mj-wjxj
Get alerted when CVE-2026-86256 or the next vulnerability affects your stack