Vulnerability · Published Oct 7, 2026 · Assigned by GitHub_M
CVE-2026-46438wger: Cross-User Data Corruption via Missing Ownership Check on WorkoutLog.slot_entry
Medium 6.5
In plain English
A medium-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.2% (higher than 14% of all known vulnerabilities).
Official description
wger is a free, open-source workout and fitness manager. Prior to version 2.6, an authenticated attacker can inject arbitrary workout log entries into any other user's `SlotEntry` by supplying the victim's `slot_entry` ID in a `POST /api/v2/workoutlog/` request. The `slot_entry` foreign key is not included in the ownership verification performed by `WorkoutLogViewSet.get_owner_objects()`, so the server accepts and persists the cross-user reference without error. Because `SlotEntry.get_config_data()` retrieves associated logs via `self.workoutlog_set.all()` with no user filter, the attacker's injected data is silently folded into the victim's progressive-overload calculations, corrupting their auto-generated weight and repetition targets. Version 2.6 contains a patch.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wger | no fix listed | GHSA-rjpf-7pf5-q54x |
| PyPI | wger | no fix listed | PYSEC-2026-4314 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| wger-project | wger | < 2.6 |
Weakness: CWE-639, CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/wger-project/wger/security/advisories/GHSA-rjpf-7pf5-q54x x_refsource_CONFIRM
- https://github.com/wger-project/wger/releases/tag/2.6 x_refsource_MISC