{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-46434","id":"CVE-2026-46434","title":"wger: Trainer Privilege Escalation - Improper Privilege Management","description":"wger is a free, open-source workout and fitness manager. Prior to version 2.6, 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 `WgerMultiplePermissionRequired","descriptionLong":"wger is a free, open-source workout and fitness manager. Prior to version 2.6, 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. Version 2.6 fixes the issue.","published":"2026-10-07T13:55:19.566Z","updated":"2026-10-28T02:30:50.918480995Z","reserved":"2026-05-13T22:18:22.830Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["wger-project wger"],"affectedProducts":[{"vendor":"wger-project","product":"wger","defaultStatus":null,"versions":[{"version":"< 2.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"wger","purl":"pkg:pypi/wger","ranges":["<=2.1"],"fixed":[],"advisory":"GHSA-x249-cx55-2h87"}],"cwes":["CWE-269"],"aliases":["GHSA-x249-cx55-2h87","PYSEC-2026-4316"],"references":[{"url":"https://github.com/wger-project/wger/security/advisories/GHSA-x249-cx55-2h87","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/wger-project/wger/releases/tag/2.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46434.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46434","tags":["advisory"]},{"url":"https://github.com/wger-project/wger/commit/9be2d5f2b4559f9a9d5b3f3b3cdadcfef449f645","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4316.yaml","tags":["web"]},{"url":"https://github.com/wger-project/wger","tags":["package"]},{"url":"https://pypi.org/project/wger","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-x249-cx55-2h87","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00221,"epssPercentile":0.12788,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-46434","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46434","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-46434","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x249-cx55-2h87","ok":true,"note":"GHSA-x249-cx55-2h87"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-46434","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}