Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. wger
  4. ›
  5. CVE-2026-43977

CVE-2026-43977: wger Vulnerable to IDOR: Authenticated Users Can Read Any User's Private Workout Session Data via Template Routine API

May 14, 2026 (updated November 6, 2026)

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 RoutinePermission class grants read access to any authenticated user when a routine has is_template=True, regardless of ownership. The /logs/ and /stats/ API actions use the same permission check but return the routine owner’s personal training data instead of the requesting user’s data, creating an insecure direct object reference (IDOR).

An attacker with a free account can enumerate all public template routine IDs via GET /api/v2/routine/?is_template=true, then call GET /api/v2/routine/{id}/logs/ and GET /api/v2/routine/{id}/stats/ to access the owner’s private health data including workout notes, weights, repetitions, and performance statistics.

References

  • github.com/advisories/GHSA-cj9g-27ph-4cgv
  • github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2026-3421.yaml
  • github.com/wger-project/wger
  • github.com/wger-project/wger/commit/47d646c24178783eb6787ecf26e79dc8f4a394c6
  • github.com/wger-project/wger/security/advisories/GHSA-cj9g-27ph-4cgv
  • nvd.nist.gov/vuln/detail/CVE-2026-43977
  • pypi.org/project/wger

Code Behaviors & Features

Detect and mitigate CVE-2026-43977 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.5.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-284: Improper Access Control
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

pypi/wger/CVE-2026-43977.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:03 +0000.