CVE-2026-43977
Description
wger is a free, open-source workout and fitness manager. In versions prior to 2.6, any authenticated user can read another user's private workout session notes, exercise history, and training statistics by calling the /logs/ and /stats/ actions on a routine they do not own. The vulnerability exists in RoutineViewSet (wger/manager/api/views.py). The view defines two custom actions /logs/ and /stats/ that are intended to return data for the requesting user's own training history within a routine. However, the underlying permission check (RoutinePermission.has_object_permission) grants read access to any authenticated user when the routine has is_template=True, regardless of ownership. When the /logs/ or /stats/ actions are invoked against a routine the attacker does not own, they return the owner's private workout history, not the attacker's. This issue has been fixed in version 2.6.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
wgerPyPI | <= 2.5 | — |
Affected products
2- Range: <= 2.5
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-cj9g-27ph-4cgvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-43977ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-3421.yamlghsaWEB
- github.com/wger-project/wger/commit/47d646c24178783eb6787ecf26e79dc8f4a394c6ghsaWEB
- github.com/wger-project/wger/security/advisories/GHSA-cj9g-27ph-4cgvnvdWEB
- pypi.org/project/wgerghsaWEB
News mentions
0No linked articles in our index yet.