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

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T19:50:52.000Z
- Modified: 2026-09-10T03:51:07.069Z
- Also known as: GHSA-vqv8-j3mj-wjxj
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- wger-project wger: before 2.6 (not affected: 2.6)
- wger (PyPI): before 2.6

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/wger-project/wger/security/advisories/GHSA-vqv8-j3mj-wjxj> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/wger-before-2.6-open-redirect-via-trainer-login-next-parameter> (third-party-advisory)
- <https://github.com/wger-project/wger> (package)

## Sources

- CVE List: [CVE-2026-86256](https://www.cve.org/CVERecord?id=CVE-2026-86256), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-vqv8-j3mj-wjxj](https://github.com/advisories/GHSA-vqv8-j3mj-wjxj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-86256](https://nvd.nist.gov/vuln/detail/CVE-2026-86256), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-86256 · Whole record: https://cve.day/CVE-2026-86256.json · Rebuilt by cve.day 2026-11-25T22:59:36.472Z
