Weak Password Recovery Mechanism for Forgotten Password Affecting code.vikunja.io/api/pkg/user package, versions <2.1.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.67% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-CODEVIKUNJAIOAPIPKGUSER-15366972
  • published2 Mar 2026
  • disclosed28 Feb 2026
  • creditVashu Vats

Introduced: 28 Feb 2026

CVE-2026-28268  (opens in a new tab)
CWE-459  (opens in a new tab)
CWE-640  (opens in a new tab)

How to fix?

Upgrade code.vikunja.io/api/pkg/user to version 2.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Weak Password Recovery Mechanism for Forgotten Password via the ResetPassword function and the background token cleanup process. An attacker can gain persistent unauthorized access to user accounts by reusing intercepted password reset tokens, even after the victim changes their password.

Note: This is possible due to the failure to invalidate tokens upon use and a logic flaw in the cleanup process that leaves old tokens valid indefinitely.

References

CVSS Base Scores

version 4.0
version 3.1