p PatchFirst

CVE-2026-27839

CVE-2026-27839 · wger: IDOR in nutritional_values endpoints exposes private dietary data via direct ORM lookup

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 4.3 · Medium · EPSS 0.3%

Published
Updated

Stack: python

Affected products and versions

  • wger

    Versions
    • <= 2.4: Affected

    No fix published

  • wger PyPI

    Versions
    • 1.1
    • 1.1.1
    • 1.2
    • 1.2rc1
    • 1.3
    • 1.4
    • 1.5
    • 1.6
    • 1.6.1
    • 1.7
    • 1.8
    • 1.9
    • 2.0
    • 2.1
    Affected ranges
    • ECOSYSTEM: ≤ 2.1

    No fix published

Original sources

Check your server →