CVE-2026-46438
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
wgerPyPI | <= 2.1 | — |
Affected products
1- Range: <2.6
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-rjpf-7pf5-q54xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-46438ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4314.yamlghsaWEB
- github.com/wger-project/wger/commit/b29cf178651bbcc243d21673932e32bd42017893ghsaWEB
- github.com/wger-project/wger/releases/tag/2.6nvdWEB
- github.com/wger-project/wger/security/advisories/GHSA-rjpf-7pf5-q54xnvdWEB
- pypi.org/project/wgerghsaWEB
News mentions
0No linked articles in our index yet.