Vulnerability · Published Jul 16, 2026 · Assigned by GitHub_M
CVE-2026-43977wger IDOR: Authenticated Users Can Read Others' Private Workout Session Data via Template Routine API
High 7.5
In plain English
A high-severity authorization bypass via user-controlled key in wger from wger-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wger | no fix listed | GHSA-cj9g-27ph-4cgv |
| PyPI | wger | no fix listed | PYSEC-2026-3421 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| wger-project | wger | < 2.6 |
Weakness: CWE-639, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/wger-project/wger/security/advisories/GHSA-cj9g-27ph-4cgv x_refsource_CONFIRM