Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. wger
  4. ›
  5. CVE-2026-46438

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

October 7, 2026 (updated October 26, 2026)

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.

References

  • github.com/advisories/GHSA-rjpf-7pf5-q54x
  • github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-4314.yaml
  • github.com/wger-project/wger/commit/b29cf178651bbcc243d21673932e32bd42017893
  • github.com/wger-project/wger/releases/tag/2.6
  • github.com/wger-project/wger/security/advisories/GHSA-rjpf-7pf5-q54x
  • nvd.nist.gov/vuln/detail/CVE-2026-46438
  • pypi.org/project/wger

Code Behaviors & Features

Detect and mitigate CVE-2026-46438 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-862: Missing Authorization

Source file

pypi/wger/CVE-2026-46438.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.