CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-46438

CVE-2026-46438: Broken Object Level Authorization in wger Workout Log Endpoint

Amit Schendel
Amit Schendel
Senior Security Researcher

Oct 7, 2026·5 min read·16 visits

Executive Summary (TL;DR)

Missing validation in wger's API endpoints allows authenticated users to inject unauthorized training logs into any user's workout schedule by referencing their slot_entry ID, corrupting dynamic progressive-overload configurations.

CVE-2026-46438 is a critical Broken Object Level Authorization (BOLA) / Insecure Direct Object Reference (IDOR) vulnerability identified in the wger fitness manager prior to version 2.6. An authenticated attacker can exploit a missing authorization check on the slot_entry API parameter to inject unauthorized workout logs into another user's training schedule. This results in the corruption of the target user's automated progressive-overload calculations.

Vulnerability Overview

The open-source fitness manager wger exposes standard REST API endpoints to facilitate the tracking of workouts, routines, and user logs. Within its multi-tenant architecture, isolation is enforced at the controller level to prevent cross-user data interference.

In versions prior to 2.6, the api validation layer failed to enforce appropriate object-level authorization on several relational fields. Specifically, the model controller representing workout logs neglected to map parent-child relationships for the slot_entry entity.

Consequently, an authenticated user could issue requests containing database identifiers referencing assets owned by unrelated accounts. The backend accepted and committed these associations, breaking logical boundaries between tenants and enabling unauthorized state modification.

Root Cause Analysis

The Django REST Framework integration in wger uses a custom superclass named WgerOwnerObjectModelViewSet to automate owner-based authorization checks during model creation and modification. This controller interceptor evaluates properties provided in the API request against a registration list returned by get_owner_objects().

Prior to the implementation of the security patch, the WorkoutLogViewSet class in wger/manager/api/views.py only evaluated Routine and WorkoutSession fields for ownership validation. The slot_entry parameter, which links a specific log entry to a scheduled slot, was omitted from the list.

Because of this omission, when an authenticated client submitted a POST request containing a foreign slot_entry identifier, the system only validated ownership of the auxiliary routine identifier. The database saved the record, creating an Insecure Direct Object Reference (IDOR) state.

A secondary failure point exists in the query logic of the calculation engine located in wger/manager/models/slot_entry.py. The SlotEntry.get_config_data() method loaded all logs connected to the slot entry without validating their ownership. This design defect allowed the attacker's unauthorized records to pollute the automated training statistics generation pipeline.

Code Analysis

To understand the technical changes, we examine the diff from the security patch applied to the code repository. The primary vulnerability resided in the registration parameters of the REST API controller.

# Vulnerable configuration in wger/manager/api/views.py
class WorkoutLogViewSet(WgerOwnerObjectModelViewSet):
    def get_owner_objects(self):
        return [(Routine, 'routine'), (WorkoutSession, 'session')]

The patched viewset updates the return value of get_owner_objects to enforce validation checks against both the slot_entry and the recursive next_log fields.

# Patched configuration in wger/manager/api/views.py
class WorkoutLogViewSet(WgerOwnerObjectModelViewSet):
    def get_owner_objects(self):
        return [
            (Routine, 'routine'),
            (WorkoutSession, 'session'),
            (SlotEntry, 'slot_entry'),
            (WorkoutLog, 'next_log'),
        ]

Furthermore, model-level security guarantees were added within the database persistence interface in wger/manager/models/log.py. This ensures that even if API controllers are bypassed, direct model updates fail authorization validation.

# Patched validation in wger/manager/models/log.py
def save(self, *args, **kwargs):
    if self.routine and self.routine.user != self.user:
        return
    if self.slot_entry and self.slot_entry.slot.day.routine.user != self.user:
        return

Exploitation Methodology

An attacker requires a valid authenticated session to exploit this vulnerability. The vulnerability requires no administrative privileges and can be triggered using a standard client connection.

The attack process initiates with sequential scanning of integer identifiers associated with targeted slot_entry objects. Because these identifiers are auto-incrementing, discovery is straightforward.

Upon identifying a target identifier, the attacker constructs a POST payload specifying a legitimate routine identifier owned by the attacker alongside the target slot_entry identifier owned by the victim. The application server processes the request, bypasses checking on the slot_entry property, and logs the malicious telemetry.

Impact Assessment

The primary impact of this vulnerability is unauthorized data manipulation and integrity corruption within user profiles. Because wger automates progress tracking via calculation engines, the presence of unauthorized workout logs corrupts the statistical baseline of the targeted athlete.

Specifically, the progressive-overload scheduling module relies on historical weight and repetition limits to project upcoming goals. Injecting extreme or incorrect values forces the application to calculate unreachable targets, impairing the usability of the software.

While the vulnerability does not lead directly to arbitrary code execution or data extraction, the complete loss of multi-tenant integrity across relational workout records introduces a significant trust barrier in shared deployments.

Remediation & Defensive Mitigation

The primary remediation mechanism is the installation of wger version 2.6. This release closes the authorization gap in the API controllers and enforces defensive validation constraints inside the underlying models.

For system administrators who cannot perform immediate platform updates, temporary relief is achievable by auditing database transactions and filtering suspicious logs. Running targeted database queries can expose instances where log records point to incompatible parent accounts.

Additionally, Web Application Firewalls (WAF) can be configured to block suspicious requests directed at the API endpoint. Inspecting incoming request bodies for mismatching parameters helps reduce the potential attack surface.

Fix Analysis (1)

Technical Appendix

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

Affected Systems

wger-project/wger

Affected Versions Detail

Product
Affected Versions
Fixed Version
wger
wger-project
< 2.62.6
AttributeDetail
CWE IDCWE-862 (Missing Authorization)
Attack VectorNetwork
CVSS v3.16.5 (Medium)
Exploit StatusProof of Concept (PoC) available
RemediationOfficial upgrade path to version 2.6

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-862
Missing Authorization

The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Vulnerability Timeline

Vulnerability patched and wger 2.6 released
2026-05-08
GitHub Security Advisory published and CVE-2026-46438 assigned
2026-10-07

References & Sources

  • [1]GitHub Security Advisory GHSA-rjpf-7pf5-q54x
  • [2]Patch Commit b29cf178651bbcc243d21673932e32bd42017893

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•15 minutes ago•GHSA-7MR3-28H5-M5VX
7.7

GHSA-7mr3-28h5-m5vx: Authorization Bypass and Cross-Project Volume Copy in Canonical LXD

An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.

Alon Barad
Alon Barad
1 views•10 min read
•about 1 hour ago•GHSA-47W9-6R3F-938G
9.9

GHSA-47w9-6r3f-938g: Authorization Bypass and Host Root Command Execution in Canonical LXD and Incus

A missing authorization and configuration validation vulnerability in Canonical LXD and LXC Incus allows authenticated users within restricted projects to bypass project security boundaries. By smuggling prohibited low-level configuration directives (such as raw.lxc or raw.qemu) inside instance snapshots or backup archives, an attacker can restore these configurations within a restricted project and execute arbitrary commands with root privileges on the underlying host operating system.

Alon Barad
Alon Barad
3 views•11 min read
•about 2 hours ago•GHSA-JPF8-86F3-WP38
9.9

CVE-2026-48752: Arbitrary Host File Read and Write via Templates Symlink in Canonical LXD and Incus

A symbolic link traversal vulnerability (CWE-59) in Canonical LXD and Linux Containers Incus allows an authenticated user with image import permissions to read and write arbitrary files on the host filesystem. During image archive unpacking, the daemon fails to reject top-level symbolic links for the instance `templates` directory. Subsequent requests to the instance template API endpoints follow this symbolic link outside the instance storage directory with root privileges, enabling complete host compromise.

Amit Schendel
Amit Schendel
4 views•10 min read
•1 day ago•CVE-2026-12411
8.4

CVE-2026-12411: Cross-Guest Volume Hijack via DevLXD Device PATCH in Canonical LXD

CVE-2026-12411 is a broken access control vulnerability in the DevLXD interface of Canonical LXD versions 6.6 through 6.8. The flaw resides in the devLXDInstancePatchHandler component, which fails to verify storage volume ownership when an instance attaches a new disk device via the /dev/lxd guest socket. When the security.devlxd.management.volumes configuration option is enabled, an untrusted guest or DevLXD identity can issue a crafted HTTP PATCH request referencing another tenant's custom storage volume. The LXD host daemon subsequently mounts the target volume into the requesting guest, permitting unauthorized cross-tenant read and write operations.

Amit Schendel
Amit Schendel
7 views•10 min read
•1 day ago•CVE-2026-105769
9.3

CVE-2026-105769: Azure Entra ID Token Exfiltration in Kaniko via Unanchored ACR Hostname Regex

CVE-2026-105769 (GHSA-5q7h-w9jf-cx97, GO-2026-6225) is an origin validation error and credential exfiltration vulnerability affecting Kaniko prior to version 1.25.20. The flaw stems from an unanchored regular expression in the integrated Azure Container Registry (ACR) credential helper (github.com/chrismellard/docker-credential-acr-env). When Kaniko processes a Dockerfile containing an image reference hosted on a lookalike domain containing an ACR suffix as a substring (e.g., x.azurecr.io.attacker.com), the credential helper acquires a Microsoft Entra ID access token for Azure Resource Manager and transmits it via HTTP POST to the attacker-controlled host.

Amit Schendel
Amit Schendel
11 views•11 min read
•1 day ago•CVE-2026-62300
6.5

CVE-2026-62300: Uncontrolled Resource Consumption in filecoin-pin Daemon

CVE-2026-62300 is an uncontrolled resource consumption vulnerability (CWE-400) affecting the daemon mode of filecoin-pin in versions up to and including 1.1.0. The daemon implements the IPFS Pinning Service API to store content on Filecoin's Proof of Data Possession (PDP) service. Due to the absence of rate limits, concurrency caps, execution timeouts, and Directed Acyclic Graph (DAG) traversal limits, an authenticated user—or an unauthenticated user when authentication is disabled—can exhaust system resources via crafted POST /pins requests.

Amit Schendel
Amit Schendel
9 views•11 min read