wger: Trainer Privilege Escalation - Improper Privilege Management
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-46434
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 12:52 UTC · Revision 1
Source evidence
wger: Trainer Privilege Escalation - Improper Privilege Management
core-osv · Original sourcePublished 7 Oct 2026, 13:55 UTC
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.
osv:CVE-2026-46434
Complete source record
{
"id": "00181565591721faa10a41300af50c645c0ba325ea25b6bca952384cd9936cd1",
"url": "https://osv.dev/vulnerability/CVE-2026-46434",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wger: Trainer Privilege Escalation - Improper Privilege Management",
"summary": "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.",
"evidence": "osv:CVE-2026-46434",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-46434",
"aliases": [
"CVE-2026-46434",
"GHSA-x249-cx55-2h87",
"PYSEC-2026-4316"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wger-project/wger",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e1d70bcc38cd56ae4a254dca1713c404d069f319"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "e1d70bcc38cd56ae4a254dca1713c404d069f319"
}
],
"source": "REFERENCES_TAG",
"original_tag": "2.6"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"2.5",
"2.4",
"2.3",
"2.0",
"1.9",
"1.8",
"1.7",
"1.5",
"1.4",
"1.3",
"1.2",
"1.1",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46434.json"
}
}
],
"modified": "2026-10-28T02:30:50.918480995Z",
"provider": "osv",
"references": [
"https://github.com/wger-project/wger/releases/tag/2.6",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46434.json",
"https://github.com/wger-project/wger/security/advisories/GHSA-x249-cx55-2h87",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46434"
],
"provider_metadata": {
"cwe_ids": [
"CWE-269"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46434.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46434",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519348,
"published_at": "2026-10-07T13:55:19.566+00:00"
}