# CVE-2026-27838: wger: IDOR via user-unscoped cache keys on routine API actions exposes workout data

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/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.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-26T22:04:57.968Z
- Modified: 2026-07-13T16:43:12.527Z
- Also known as: GHSA-42cr-w2gr-m54q, PYSEC-2026-3418
- 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. Five routine detail action endpoints check a cache before calling `self.get_object()`. In versions up to and including 2.4, ache keys are scoped only by `pk` — no user ID is included. When a victim has previously accessed their routine via the API, an attacker can retrieve the cached response for the same PK without any ownership check. Commit e964328784e2ee2830a1991d69fadbce86ac9fbf contains a patch 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 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/wger-project/wger/security/advisories/GHSA-42cr-w2gr-m54q> (exploit, vendor-advisory, web)
- <https://github.com/wger-project/wger/commit/e964328784e2ee2830a1991d69fadbce86ac9fbf> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27838> (advisory)
- <https://github.com/wger-project/wger> (package)
- <https://pypi.org/project/wger> (package)
- <https://github.com/advisories/GHSA-42cr-w2gr-m54q> (advisory)

## Sources

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

---

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