CVE-2026-46437

wger: API credentials remain valid after logout/password change

Published Oct 7, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
wger is a free, open-source workout and fitness manager. Versions prior to 2.6 have a vulnerability in the authentication/session lifecycle of `wger` where bearer-style API credentials remain valid after a user logs out and after a user changes their password. An attacker who steals a victim’s DRF authtoken (`Authorization: Token ...`) or JWT refresh token can continue to access protected `/api/v2/*` endpoints until the token is manually rotated/deleted (DRF token) or naturally expires (JWT refresh). Version 2.6 contains a patch.

Analysis

AI-generated

Technical impact

The vulnerability in wger causes bearer‑style API credentials to remain valid after a user logs out or changes their password, allowing an attacker who obtains a DRF authtoken or JWT refresh token to continue accessing protected API endpoints until those tokens are manually rotated or naturally expire. This flaw represents an authentication and authorization weakness that can enable unauthorized data access or manipulation, with the potential to compromise the integrity and confidentiality of user data.

Affected Systems

The issue affects the free, open‑source workout and fitness manager wger from the wger‑project, specifically all versions prior to 2.6. Version 2.6 and later include a fix that revokes or invalidates tokens when a user logs out or changes their password.

Risk and Exploitability

With a CVSS score of 4.8, the severity is medium. The EPSS score is unavailable and the vulnerability is not listed in CISA KEV, indicating it is not actively exploited at scale. The attack vector requires the attacker to obtain a valid API token, either through phishing, credential dumping, or other means. Once in possession of the token, exploitation is straightforward and does not require additional privileges or system access. The lack of an automated revocation mechanism is the root cause of the risk, making token rotation or invalidation a direct mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade wger to version 2.6 or newer
  • During the upgrade, revoke or delete all existing DRF and JWT tokens for all users
  • Configure the application to automatically revoke tokens on logout and password change, ensuring that new tokens are issued only after authentication
  • Apply periodic token rotation and monitor token usage for anomalous activity

Generated by OpenCVE AI on October 7, 2026 at 15:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v3x9-6gg8-c2c9 wger: API credentials remain valid after logout/password change
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wger-project
Wger-project wger
Vendors & Products Wger-project
Wger-project wger
Type Values Removed Values Added
Description wger is a free, open-source workout and fitness manager. Versions prior to 2.6 have a vulnerability in the authentication/session lifecycle of `wger` where bearer-style API credentials remain valid after a user logs out and after a user changes their password. An attacker who steals a victim’s DRF authtoken (`Authorization: Token ...`) or JWT refresh token can continue to access protected `/api/v2/*` endpoints until the token is manually rotated/deleted (DRF token) or naturally expires (JWT refresh). Version 2.6 contains a patch.
Title wger: API credentials remain valid after logout/password change
Weaknesses CWE-287
CWE-613
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 10, 2026, 2:24 AM
Reserved
May 13, 2026, 10:18 PM
Status
Deferred
Published
Oct 7, 2026, 2:17 PM
Modified
Oct 10, 2026, 3:17 AM