CVE-2026-86256: URL Redirection to Untrusted Site ('Open Redirect') in wger-project wger
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.
CVSS v4.0
Score 5.1medium
Affected software
wger-project
wger
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-86256 describes an open redirect vulnerability in wger before version 2.6 (affected versions are >=0 and <2.6). The vulnerability exists in the trainer_login view (wger/core/views/user.py), where after a trainer enters impersonation mode, the application redirects to a user-supplied 'next' GET parameter using HttpResponseRedirect() without validating the URL with url_has_allowed_host_and_scheme(). This lack of validation enables an attacker to craft links that redirect authenticated trainers to malicious external sites, potentially facilitating phishing and leaking sensitive URL information including the impersonated user's user_pk via the Referer header.
Potential Impact
An attacker can exploit this vulnerability by delivering a crafted link to an authenticated trainer user, causing their browser to be redirected to an attacker-controlled domain. This can be used for phishing attacks and to leak internal URL structures through the Referer header. The vulnerability requires the user to be authenticated and to interact with a malicious link, and it does not allow direct code execution or privilege escalation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid clicking on untrusted links that may redirect after impersonation mode. Monitor vendor communications for updates regarding an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-06T11:35:19.317Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a9d5b10acd9273b49b9c596
Added to database: 09/06/2026, 12:22:40 UTC
Last enriched: 09/15/2026, 00:39:36 UTC
Last updated: 10/22/2026, 01:15:26 UTC
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.