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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-26T22:07:43.640Z
- Modified: 2026-07-13T16:43:39.597Z
- Also known as: GHSA-g8gc-6c4h-jg86, PYSEC-2026-3422
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- wger-project wger: <= 2.4
- wger (PyPI): up to 2.1
- wger wger: up to 2.4

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/wger-project/wger/security/advisories/GHSA-g8gc-6c4h-jg86> (exploit, vendor-advisory, web)
- <https://github.com/wger-project/wger/commit/29876a1954fe959e4b58ef070170e81703dab60e> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27839> (advisory)
- <https://github.com/wger-project/wger> (package)
- <https://pypi.org/project/wger> (package)
- <https://github.com/advisories/GHSA-g8gc-6c4h-jg86> (advisory)

## Sources

- CVE List: [CVE-2026-27839](https://www.cve.org/CVERecord?id=CVE-2026-27839), CVE Terms of Use, modified 2026-03-03
- GitHub Advisory Database: [GHSA-g8gc-6c4h-jg86](https://github.com/advisories/GHSA-g8gc-6c4h-jg86), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-27839](https://nvd.nist.gov/vuln/detail/CVE-2026-27839), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-3422](https://osv.dev/vulnerability/PYSEC-2026-3422), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-27839 · Whole record: https://cve.day/CVE-2026-27839.json · Rebuilt by cve.day 2026-11-25T22:59:14.982Z
