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

CVE-2026-46437: wger: API credentials remain valid after logout/password change

October 7, 2026

A vulnerability exists 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). lifecycle events do not revoke these credentials:

  • Logout (/user/logout) only clears the Django session cookie via django_logout() and does not revoke API tokens.
  • Password change updates the password hash, but does not revoke:
  • existing DRF tokens stored in authtoken_token
  • existing JWT refresh tokens (no server-side revocation list or token versioning); refresh can continue minting new access tokens until refresh expiry.

References

  • github.com/advisories/GHSA-v3x9-6gg8-c2c9
  • github.com/wger-project/wger/releases/tag/2.6
  • github.com/wger-project/wger/security/advisories/GHSA-v3x9-6gg8-c2c9
  • nvd.nist.gov/vuln/detail/CVE-2026-46437

Code Behaviors & Features

Detect and mitigate CVE-2026-46437 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.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-613: Insufficient Session Expiration

Source file

pypi/wger/CVE-2026-46437.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:27 +0000.