Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/usememos/memos
  4. ›
  5. CVE-2024-21635

CVE-2024-21635: Memos' Access Tokens Stay Valid after User Password Change

November 14, 2025 (updated March 12, 2026)

Access Tokens are used to authenticate application access. When a user changes their password, the existing list of Access Tokens stay valid instead of expiring. If a user finds that their account has been compromised, they can update their password.

The bad actor though will still have access to their account because the bad actor’s Access Token stays on the list as a valid token. The user will have to manually delete the bad actor’s Access Token to secure their account. The list of Access Tokens has a generic Description which makes it hard to pinpoint a bad actor in a list of Access Tokens.

References

  • github.com/advisories/GHSA-mr34-8733-grr2
  • github.com/usememos/memos
  • github.com/usememos/memos/releases/tag/v0.18.2
  • github.com/usememos/memos/security/advisories/GHSA-mr34-8733-grr2
  • nvd.nist.gov/vuln/detail/CVE-2024-21635
  • owasp.org/Top10/A04_2021-Insecure_Design

Code Behaviors & Features

Detect and mitigate CVE-2024-21635 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.18.2

Fixed versions

  • 0.18.2

Solution

Upgrade to version 0.18.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

go/github.com/usememos/memos/CVE-2024-21635.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 25 Mar 2026 00:17:25 +0000.