wger: IDOR in nutritional_values endpoints exposes private dietary data via direct ORM lookup
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-27839
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:52 UTC · Revision 1
Source evidence
wger: IDOR in nutritional_values endpoints exposes private dietary data via direct ORM lookup
core-osv · Original sourcePublished 26 Feb 2026, 22:07 UTC
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.
osv:CVE-2026-27839
Complete source record
{
"id": "c9d3c5c0c585a35ef55b9abfea32cbac22b1b9f6716fd03af6a5caa4db4229c9",
"url": "https://osv.dev/vulnerability/CVE-2026-27839",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wger: IDOR in nutritional_values endpoints exposes private dietary data via direct ORM lookup",
"summary": "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.",
"evidence": "osv:CVE-2026-27839",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-27839",
"aliases": [
"CVE-2026-27839",
"GHSA-g8gc-6c4h-jg86",
"PYSEC-2026-3422"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wger-project/wger",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "29876a1954fe959e4b58ef070170e81703dab60e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wger:wger:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "29876a1954fe959e4b58ef070170e81703dab60e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.4",
"2.3",
"2.0",
"1.9",
"1.8",
"1.7",
"1.5",
"1.4",
"1.3",
"1.2",
"1.1",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27839.json"
}
}
],
"modified": "2026-10-28T02:30:49.975277422Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27839.json",
"https://github.com/wger-project/wger/security/advisories/GHSA-g8gc-6c4h-jg86",
"https://nvd.nist.gov/vuln/detail/CVE-2026-27839",
"https://github.com/wger-project/wger/commit/29876a1954fe959e4b58ef070170e81703dab60e"
],
"provider_metadata": {
"cwe_ids": [
"CWE-639"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27839.json"
}
},
"related_cves": [
{
"value": "CVE-2026-27839",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518283,
"published_at": "2026-02-26T22:07:43.64+00:00"
}