CVE-2026-86256 wger before 2.6 Open Redirect via trainer-login next parameter

Medium 5.1 Published Updated

An attacker can redirect authenticated trainers to malicious sites via a crafted link, enabling phishing and leaking user data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-86256?

CVE-2026-86256 is a medium-severity vulnerability in wger-project wger, published on 6 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-601

Which versions are affected by CVE-2026-86256?

2 open source packages ship an affected version, including wger.

PackageAffectedFixed in
wger PyPIAll versions2.6
wger PyPIAll versions2.6

How do I fix CVE-2026-86256?

Upgrade wger to 2.6 or later.

Is CVE-2026-86256 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-86256 exists.

Sources

Also known as GHSA-rc6j-63fm-mhq4, GHSA-vqv8-j3mj-wjxj.

Is CVE-2026-86256 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free