{"id":"CVE-2026-27839","summary":"wger: IDOR in nutritional_values endpoints exposes private dietary data via direct ORM lookup","details":"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.","aliases":["GHSA-g8gc-6c4h-jg86"],"modified":"2026-04-10T05:37:26.814709Z","published":"2026-02-26T22:07:43.640Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27839.json","cwe_ids":["CWE-639"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27839.json"},{"type":"ADVISORY","url":"https://github.com/wger-project/wger/security/advisories/GHSA-g8gc-6c4h-jg86"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27839"},{"type":"FIX","url":"https://github.com/wger-project/wger/commit/29876a1954fe959e4b58ef070170e81703dab60e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wger-project/wger","events":[{"introduced":"0"},{"fixed":"29876a1954fe959e4b58ef070170e81703dab60e"}]}],"versions":["1.0","1.0.1","1.0.2","1.0.3","1.1","1.2","1.3","1.4","1.5","1.7","1.8","1.9","2.0","2.3","2.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27839.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}