Insufficient Session Expiration Affecting github.com/usememos/memos/server/router/api/v1 package, versions <0.25.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (21st 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-GITHUBCOMUSEMEMOSMEMOSSERVERROUTERAPIV1-14038269
  • published16 Nov 2025
  • disclosed14 Nov 2025
  • creditjhademcconnell

Introduced: 14 Nov 2025

CVE-2024-21635  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade github.com/usememos/memos/server/router/api/v1 to version 0.25.3 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Session Expiration due to the failure to revoke access tokens after a password change. An attacker can maintain unauthorized access to a user's account by continuing to use a previously issued access token even after the legitimate user has changed their password.

References

CVSS Base Scores

version 4.0
version 3.1