CVE-2026-45161wger-project wger
Medium 5.4
Follow: this CVE · wger-project · wger-project wger We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 7, 2026
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for wger.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | wger |
≤ 2.1 |
no fixed version | — |
| PyPI | wger |
≤ 2.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xf64-4pmc-h8qf, PYSEC-2026-4317). Check the version in your lockfile before upgrading.
Affected products
- wger-project · wger
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.