CVE-2026-27839 wger: IDOR in nutritional_values endpoints exposes private dietary data via direct ORM lookup
MediumCVSS 4.3
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi wger(PyPI) | <= 2.1; = 1.1; = 1.1.1; = 1.2 +11 more | after 2.1 | Fixed |
| wger | <= 2.4 | after 2.4 | Fixed |
| wger-project wger | = <= 2.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi wger(PyPI) | <= 2.1 | No fix listed |
| pypi wger(PyPI) | = 1.1 | No fix listed |
| pypi wger(PyPI) | = 1.1.1 | No fix listed |
| pypi wger(PyPI) | = 1.2 | No fix listed |
| pypi wger(PyPI) | = 1.2rc1 | No fix listed |
| pypi wger(PyPI) | = 1.3 | No fix listed |
| pypi wger(PyPI) | = 1.4 | No fix listed |
| pypi wger(PyPI) | = 1.5 | No fix listed |
| pypi wger(PyPI) | = 1.6 | No fix listed |
| pypi wger(PyPI) | = 1.6.1 | No fix listed |
| pypi wger(PyPI) | = 1.7 | No fix listed |
| pypi wger(PyPI) | = 1.8 | No fix listed |
| pypi wger(PyPI) | = 1.9 | No fix listed |
| pypi wger(PyPI) | = 2.0 | No fix listed |
| pypi wger(PyPI) | = 2.1 | No fix listed |
| wger-project wger | = <= 2.4 | No fix listed |
| wger | <= 2.4 | No fix listed |
References
- https://github.com/wger-project/wger/security/advisories/GHSA-g8gc-6c4h-jg86 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/wger-project/wger/commit/29876a1954fe959e4b58ef070170e81703dab60e patch
- github.com product
- pypi.org product
- github.com vendor-advisory