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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T13:59:17.000Z
- Modified: 2026-10-26T16:00:25.744Z
- Also known as: GHSA-rjpf-7pf5-q54x, PYSEC-2026-4314
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- wger-project wger: < 2.6
- wger (PyPI): up to 2.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `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> (exploit, web)
- <https://github.com/wger-project/wger/releases/tag/2.6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46438> (advisory)
- <https://github.com/wger-project/wger/commit/b29cf178651bbcc243d21673932e32bd42017893> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4314.yaml> (web)
- <https://github.com/wger-project/wger> (package)
- <https://pypi.org/project/wger> (package, web)
- <https://github.com/advisories/GHSA-rjpf-7pf5-q54x> (advisory)

## Sources

- CVE List: [CVE-2026-46438](https://www.cve.org/CVERecord?id=CVE-2026-46438), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-rjpf-7pf5-q54x](https://github.com/advisories/GHSA-rjpf-7pf5-q54x), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-46438](https://nvd.nist.gov/vuln/detail/CVE-2026-46438), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4314](https://osv.dev/vulnerability/PYSEC-2026-4314), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-46438 · Whole record: https://cve.day/CVE-2026-46438.json · Rebuilt by cve.day 2026-11-25T22:59:43.033Z
