CVE-2026-45161
wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-352 |
| Vendor | wger-project |
| Product | wger |
| Published | Oct 7, 2026 |
Stay Ahead of the Next One
Get instant alerts for wger-project wger
Be the first to know when new medium vulnerabilities affecting wger-project wger are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
wger-project / wger
< 2.6