---
id: CVE-2026-46438
title: 'wger is a free, open-source workout and fitness manager'
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…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-639
  - CWE-862
vendor: wger
product: wger
affected:
  - wger <= 2.1
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T14:46:03.387'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-46438'
references:
  - url: 'https://github.com/wger-project/wger/releases/tag/2.6'
    label: security-advisories@github.com
  - url: >-
      https://github.com/wger-project/wger/security/advisories/GHSA-rjpf-7pf5-q54x
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-rjpf-7pf5-q54x'
tags:
  - nvd
  - ghsa
  - pip
  - cve.org
aliases:
  - GHSA-rjpf-7pf5-q54x
ecosystem: pip
ingestedAt: '2026-10-07T14:33:21.955Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-46438)

Affected packages:

- `wger <= 2.1`

Source: https://github.com/advisories/GHSA-rjpf-7pf5-q54x
