{"id":"CVE-2026-45161","published":"2026-10-07T13:35:53Z","modified":"2026-10-07T17:04:45Z","title":"wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding","vendor":"wger-project","product":"wger","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00088,"percentile":0.00371,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/wger-project/wger/security/advisories/GHSA-xf64-4pmc-h8qf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wger-project/wger/releases/tag/2.6","tags":["x_refsource_MISC"]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.07},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"wger-project","affectedVersions":[{"vendor":"wger-project","product":"wger","versions":["< 2.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T15:27:05.291626Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"wger","vulnerableRanges":["<=2.1"],"patched":[],"from":["GHSA-xf64-4pmc-h8qf","PYSEC-2026-4317"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-94331","exploited":false,"provenance":"source"}}