ZeroDay Brief
CVE-2026-45161

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 un…

CVSS
5.4Medium
Chance of exploitation (EPSS)
0.09%
Published
Oct 7, 2026
In the news
Not yet
More from this vendor

What to do

A moderate cross-site request forgery flaw in Wger that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Wger
< 2.6

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.

CWE-352

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-45161 published (CVSS 5.4) (Oct 7, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Oct 7, 2026

  1. CVECVE-2026-45161 published (CVSS 5.4)CVE Program · 14:17 UTC

References 2

  • github.com /wger-project/wger/releases/tag/2.6
  • github.com /wger-project/wger/security/advisories/GHSA-xf64-4pmc-h8qf

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”