Vulnerability · Published Feb 26, 2026 · Assigned by GitHub_M
CVE-2026-27838wger: IDOR via user-unscoped cache keys on routine API actions exposes workout data
Low 3.1
In plain English
A low-severity authorization bypass via user-controlled key in wger from wger-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wger | no fix listed | GHSA-42cr-w2gr-m54q |
| PyPI | wger | no fix listed | PYSEC-2026-3418 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| wger-project | wger | <= 2.4 |
Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N