Vulnerability Description
wger is a free, open-source workout and fitness manager. Prior to version 2.6, the `trainer_login` view in wger accepts GET requests and executes `django_login()` without any CSRF protection, because Django's `CsrfViewMiddleware` only enforces tokens on unsafe methods (POST/PUT/PATCH/DELETE). An attacker can embed a single `<img>` tag on a malicious page; when an authenticated trainer loads that page, their browser auto-issues the GET with the session cookie, forcibly rebinding the trainer's session to an arbitrary user account. Version 2.6 fixes the issue.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/wger-project/wger/releases/tag/2.6
- https://github.com/wger-project/wger/security/advisories/GHSA-xf64-4pmc-h8qf
FAQ
What is CVE-2026-45161?
CVE-2026-45161 is a vulnerability with a CVSS score of 5.4 (MEDIUM). wger is a free, open-source workout and fitness manager. Prior to version 2.6, the `trainer_login` view in wger accepts GET requests and executes `django_login()` without any CSRF protection, because ...
How severe is CVE-2026-45161?
CVE-2026-45161 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-45161?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.