Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. wger
  4. ›
  5. CVE-2026-43978

CVE-2026-43978: wger: Privilege escalation via trainer-login session chaining allows gym trainer to impersonate gym manager

May 14, 2026 (updated November 6, 2026)

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, allowing the trainer to hop into any account including gym managers.

References

  • github.com/advisories/GHSA-9qpr-vc49-hqg2
  • github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-3420.yaml
  • github.com/wger-project/wger
  • github.com/wger-project/wger/commit/19c97822492f9914ccfcebeeda319be4e7562790
  • github.com/wger-project/wger/security/advisories/GHSA-9qpr-vc49-hqg2
  • nvd.nist.gov/vuln/detail/CVE-2026-43978
  • pypi.org/project/wger

Code Behaviors & Features

Detect and mitigate CVE-2026-43978 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.5.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

pypi/wger/CVE-2026-43978.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.