Improper Access Control Vulnerability in wger Workout Manager
CVE-2026-27839
4.3MEDIUM
What is CVE-2026-27839?
A security flaw in the wger workout manager allows authenticated users to gain unauthorized access to other users' private nutrition plans. This occurs due to three nutritional_values action endpoints that utilize Model.objects.get(pk=pk)—an insecure ORM call that circumvents user-scoped query restrictions. As a result, any logged-in user can obtain sensitive information, including individual caloric intake and detailed macronutrient breakdowns, by simply providing a different user's primary key. The issue has been resolved in commit 29876a1954fe959e4b58ef070170e81703dab60e.
Affected Version(s)
wger <= 2.4
