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-05-07
AI Q&A
2026-02-27
EPSS Evaluated
2026-05-05
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 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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart