CVE-2026-27839
Insecure Direct Object Reference in wger Nutritional Endpoints
Publication date: 2026-02-26
Last updated on: 2026-03-03
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wger | wger | to 2.4 (inc) |
Helpful Resources
Exploitability
| 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 Powered Q&A
Can you explain this vulnerability to me?
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).
How can this vulnerability impact me? :
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.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
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.