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

CVE-2026-46434: wger: Trainer Privilege Escalation - Improper Privilege Management

October 7, 2026 (updated October 26, 2026)

A user with only the gym_trainer permission can deactivate any account in the same gym, including gym_manager and general_gym_manager accounts. The UserDeactivateView grants access to anyone holding any one of gym.manage_gym, gym.manage_gyms, or gym.gym_trainer (OR logic via WgerMultiplePermissionRequiredMixin), and performs no privilege-hierarchy check to prevent a lower-privileged role from disabling a higher-privileged one.

References

  • github.com/advisories/GHSA-x249-cx55-2h87
  • github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4316.yaml
  • github.com/wger-project/wger/commit/9be2d5f2b4559f9a9d5b3f3b3cdadcfef449f645
  • github.com/wger-project/wger/releases/tag/2.6
  • github.com/wger-project/wger/security/advisories/GHSA-x249-cx55-2h87
  • nvd.nist.gov/vuln/detail/CVE-2026-46434
  • pypi.org/project/wger

Code Behaviors & Features

Detect and mitigate CVE-2026-46434 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.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

pypi/wger/CVE-2026-46434.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:13 +0000.