p PatchFirst

CVE-2026-46438

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 0.2% · Public exploit

Published
Updated

Stack: python

Affected products and versions

  • wger

    Versions
    • < 2.6: Affected

    No fix published

  • wger PyPI

    Versions
    • 1.1
    • 1.1.1
    • 1.2
    • 1.2rc1
    • 1.3
    • 1.4
    • 1.5
    • 1.6
    • 1.6.1
    • 1.7
    • 1.8
    • 1.9
    • 2.0
    • 2.1
    Affected ranges
    • ECOSYSTEM: ≤ 2.1

    No fix published

Original sources

Check your server →