Skip to content

CVE-2026-46438 wger: Cross-User Data Corruption via Missing Ownership Check on WorkoutLog.slot_entry

MediumCVSS 6.5 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi wger(PyPI) <= 2.1; = 1.1; = 1.1.1; = 1.2 +11 more after 2.1 Fixed
wger-project wger = < 2.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi wger(PyPI) <= 2.1 No fix listed
pypi wger(PyPI) = 1.1 No fix listed
pypi wger(PyPI) = 1.1.1 No fix listed
pypi wger(PyPI) = 1.2 No fix listed
pypi wger(PyPI) = 1.2rc1 No fix listed
pypi wger(PyPI) = 1.3 No fix listed
pypi wger(PyPI) = 1.4 No fix listed
pypi wger(PyPI) = 1.5 No fix listed
pypi wger(PyPI) = 1.6 No fix listed
pypi wger(PyPI) = 1.6.1 No fix listed
pypi wger(PyPI) = 1.7 No fix listed
pypi wger(PyPI) = 1.8 No fix listed
pypi wger(PyPI) = 1.9 No fix listed
pypi wger(PyPI) = 2.0 No fix listed
pypi wger(PyPI) = 2.1 No fix listed
wger-project wger = < 2.6 No fix listed

References