CVE-2026-43978
HIGH 8.1CVSS 3.1wger: Privilege escalation via trainer-login session chaining allows gym trainer to impersonate gym manager
wger is a free, open-source workout and fitness manager. In versions prior to 2.6, a gym trainer can escalate their session to any higher-privileged account (gym manager, general manager) by chaining two calls to the trainer-login endpoint. Once a trainer performs a legitimate switch into a low-privileged user, the session flag trainer.identity is set and this flag alone bypasses the permission check on all subsequent trainer-login calls. This grants full gym administration capabilities including viewing all member data, modifying contracts, managing gym configuration, and accessing other trainers' and managers' personal information. This issue has been fixed in version 2.6.
- Published
- 16 Jul 2026
- Last modified
- 6 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-269
- Also known as
- GHSA-9qpr-vc49-hqg2PYSEC-2026-3420
- Sources
- NVDJSONOSV GHSA-9qpr-vc49-hqg2JSONOSV PYSEC-2026-3420JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | wger | <= 2.5 |
References
- https://github.com/wger-project/wger/security/advisories/GHSA-9qpr-vc49-hqg2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-43978 · ADVISORY
- https://github.com/wger-project/wger/commit/19c97822492f9914ccfcebeeda319be4e7562790 · WEB
- https://github.com/advisories/GHSA-9qpr-vc49-hqg2 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-3420.yaml · WEB
- https://github.com/wger-project/wger · PACKAGE
- https://pypi.org/project/wger · WEB, PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 May 2026)