{"cve":"CVE-2026-43978","nvd":{"published":"2026-07-16T23:16:16.310","modified":"2026-10-24T20:10:00.137","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-269"],"references":["https://github.com/wger-project/wger/security/advisories/GHSA-9qpr-vc49-hqg2","https://github.com/wger-project/wger/security/advisories/GHSA-9qpr-vc49-hqg2"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-43978","score":0.00265,"percentile":0.18225,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-9qpr-vc49-hqg2","url":"https://osv.dev/vulnerability/GHSA-9qpr-vc49-hqg2","summary":"wger: Privilege escalation via trainer-login session chaining allows gym trainer to impersonate gym manager","modified":"2026-07-13T16:43:31.345420803Z","packages":[{"ecosystem":"PyPI","name":"wger","purl":"pkg:pypi/wger","ranges":["<=2.5"],"fixed":[]}]},{"id":"PYSEC-2026-3420","url":"https://osv.dev/vulnerability/PYSEC-2026-3420","summary":"wger: Privilege escalation via trainer-login session chaining allows gym trainer to impersonate gym manager","modified":"2026-07-13T16:33:32.424294803Z","packages":[{"ecosystem":"PyPI","name":"wger","purl":"pkg:pypi/wger","ranges":["<=2.5"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}