CVE-2026-27839
Received Received - Intake
Insecure Direct Object Reference in wger Nutritional Endpoints

Publication date: 2026-02-26

Last updated on: 2026-03-03

Assigner: GitHub, Inc.

Description
wger is a free, open-source workout and fitness manager. In versions up to and including 2.4, three `nutritional_values` action endpoints fetch objects via `Model.objects.get(pk=pk)` β€” a raw ORM call that bypasses the user-scoped queryset. Any authenticated user can read another user's private nutrition plan data, including caloric intake and full macro breakdown, by supplying an arbitrary PK. Commit 29876a1954fe959e4b58ef070170e81703dab60e contains a fix for the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-26
Last Modified
2026-03-03
Generated
2026-06-16
AI Q&A
2026-02-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wger wger to 2.4 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability exists in wger, an open-source workout and fitness manager, in versions up to and including 2.4. Three nutritional_values action endpoints use a raw ORM call Model.objects.get(pk=pk) that bypasses user-scoped querysets. This means any authenticated user can access another user's private nutrition plan data by providing an arbitrary primary key (PK).

Impact Analysis

This vulnerability allows any authenticated user to read private nutrition plan data of other users, including sensitive information such as caloric intake and full macronutrient breakdown. This could lead to unauthorized disclosure of personal health information.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, update wger to a version that includes the fix, specifically the commit 29876a1954fe959e4b58ef070170e81703dab60 or later.

This fix addresses the issue where authenticated users could access other users' private nutrition plan data by bypassing user-scoped querysets.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-27839. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart