Skip to main content
← All vulnerabilities
CVE-2026-46438PYSEC-2026-4314GHSA-RJPF-7PF5-Q54X

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • wger-project wger

    fixed in 2.6

  • wgerPyPI

    through 2.1

References 2

GitHub · wger-project/wger