CVE-2026-27838 wger: IDOR via user-unscoped cache keys on routine API actions exposes workout data
LowCVSS 3.5
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. 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.
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-42cr-w2gr-m54q exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/wger-project/wger/commit/e964328784e2ee2830a1991d69fadbce86ac9fbf patch
- github.com product
- pypi.org product
- github.com vendor-advisory