{"id":"CVE-2026-43977","published":"2026-07-16T22:13:12Z","modified":"2026-07-17T13:14:37Z","title":"wger IDOR: Authenticated Users Can Read Others' Private Workout Session Data via Template Routine API","vendor":"wger-project","product":"wger","tier":"tail","description":{"text":"wger is a free, open-source workout and fitness manager. In versions prior to 2.6, any authenticated user can read another user's private workout session notes, exercise history, and training statistics by calling the /logs/ and /stats/ actions on a routine they do not own. The vulnerability exists in RoutineViewSet (wger/manager/api/views.py). The view defines two custom actions /logs/ and /stats/ that are intended to return data for the requesting user's own training history within a routine. However, the underlying permission check (RoutinePermission.has_object_permission) grants read access to any authenticated user when the routine has is_template=True, regardless of ownership. When the /logs/ or /stats/ actions are invoked against a routine the attacker does not own, they return the owner's private workout history, not the attacker's. This issue has been fixed in version 2.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00289,"percentile":0.21965,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/wger-project/wger/security/advisories/GHSA-cj9g-27ph-4cgv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.39},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"wger-project","affectedVersions":[{"vendor":"wger-project","product":"wger","versions":["< 2.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-17T13:14:26.159335Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"wger","vulnerableRanges":["<=2.5"],"patched":[],"from":["GHSA-cj9g-27ph-4cgv","PYSEC-2026-3421"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-45067","exploited":false,"provenance":"source"}}