Vulnerabilities in pkg:golang/github.com/usememos/memos

PACKAGE
Advisory Identifier: GHSA-gqp3-hfc3-8q54
Advisory Summary

CVE-2026-6634 is a LOW (CVSS 6.3) memos has an incorrect privilege vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Github.com/usememos/memos libraries in the Go ecosystem. The issue involves memos has an incorrect privilege assignment issue. Remediation is available in the latest vendor maintenance releases.

75 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/usememos/memos

75 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/usememos/memos. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-gqp3-hfc3-8q54 CVE-2026-6634 LOW Memos has an Incorrect Privilege Assignment issue
GHSA-mr34-8733-grr2 CVE-2024-21635 HIGH Memos' Access Tokens Stay Valid after User Password Change
GHSA-99m2-qwx6-2w6f CVE-2025-65797 MODERATE memos vulnerability allows arbitrarily modification or deletion registered identity providers
GHSA-mg56-wc4q-rw4w CVE-2025-65795 HIGH memos vulnerability allows the creation of arbitrary accounts
GHSA-qgjp-5g5x-vhq2 CVE-2025-65799 MODERATE memos lacks file name validation or verification
GHSA-8p44-g572-557h CVE-2025-65798 MODERATE memos vulnerability allows arbitrarily modification or deletion of attachments
GHSA-8jcj-g9f4-qx42 CVE-2025-65796 MODERATE memos vulnerability allows arbitrarily reactions deletion
GHSA-cgrg-86m5-xm4w CVE-2025-56761 MODERATE Memos Vulnerable to Stored Cross-Site Scripting
GHSA-78j5-8vq7-jxv5 CVE-2025-56760 MODERATE Memos Vulnerable to Path Traversal via the CreateResource Endpoint
GHSA-hfcf-79gh-f3jc CVE-2025-50738 MODERATE Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs
GHSA-9w8x-5hv5-r6gw CVE-2022-25978 MODERATE Cross Site Scripting in usememos/memos
GHSA-wfxg-v3j4-7qmj CVE-2025-22952 MODERATE Memos Server-Side Request Forgery (SSRF)
GHSA-5r2g-59px-3q9w CVE-2023-0109 MODERATE Stored XSS using two files in usememos/memos
GHSA-p4fx-qf2h-jpmj CVE-2024-41659 HIGH memos CORS Misconfiguration in server.go (GHSL-2024-034)
GHSA-6fcf-g3mp-xj2x CVE-2024-29028 MODERATE memos vulnerable to Server-Side Request Forgery in /o/get/httpmeta
GHSA-9cqm-mgv9-vv9j CVE-2024-29029 MODERATE memos vulnerable to Server-Side Request Forgery and Cross-site Scripting
GHSA-65fm-2jgr-j7qq CVE-2024-29030 MODERATE memos vulnerable to Server-Side Request Forgery in /api/resource
GHSA-2g7r-9xq5-c6hv CVE-2023-5036 HIGH Cross-Site Request Forgery (CSRF) in usememos/memos
GHSA-96gq-6ch5-mm54 CVE-2023-4698 HIGH usememos/memos vulnerable to improper input validation
GHSA-5j6p-59cj-j6cp CVE-2023-4697 HIGH usememos/memos vulnerable to privilege escalation
GHSA-j2gj-g3p9-7mrr CVE-2023-4696 CRITICAL Account TakeOver Due to Improper Handling of JWT Tokens in usememos/memos
GHSA-68gw-r2x5-7r5r CVE-2022-4686 CRITICAL usememos/memos Authorization Bypass Through User-Controlled Key vulnerability
GHSA-9v48-2h5x-fvpm CVE-2022-4685 MODERATE usememos/memos vulnerable to improper access control
GHSA-pcvh-px2p-vmxw CVE-2023-0107 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-8686-4cr3-76wj CVE-2023-0106 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-fpjc-cxr6-w6h8 CVE-2023-0108 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-x22v-qgm2-7qc7 CVE-2023-0110 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-9h7x-9pmh-7gg8 CVE-2023-0112 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-h2ph-9r76-37v5 CVE-2023-0111 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-6whj-8g9g-5jvx CVE-2022-4863 MODERATE usememos/memos vulnerable to Improper Handling of Insufficient Permissions or Privileges
GHSA-8w5q-5fpq-v4pm CVE-2022-4865 CRITICAL usememos/memos Cross-site Scripting vulnerability
GHSA-x9p9-v3x6-68mq CVE-2022-4866 CRITICAL usememos/memos vulnerable to Cross-site Scripting
GHSA-r7hg-2cpp-8wqq CVE-2022-4847 MODERATE usememos/memos has Incorrectly Specified Destination in a Communication Channel
GHSA-vh43-cc6x-prpr CVE-2022-4848 MODERATE usememos/memos vulnerable to Improper Verification of Source of a Communication Channel
GHSA-42q2-m54f-jh95 CVE-2022-4851 MODERATE sememos/memos vulnerable to Improper Handling of Values
GHSA-qw36-rw5q-gxcq CVE-2022-4804 MODERATE usememos/memos Improper Authorization vulnerability
GHSA-mfmp-8mqg-q4wm CVE-2022-4803 HIGH usememos/memos Improper Access Control vulnerability
GHSA-rx2m-xr4x-54hh CVE-2022-4802 MODERATE usememos/memos vulnerable to Improper Authorization
GHSA-jvq8-w7qv-hqp6 CVE-2022-4799 MODERATE usememos/memos Improper Authentication vulnerability
GHSA-qcf5-m2c6-89f2 CVE-2022-4798 MODERATE usememos/memos Improper Authorization vulnerability
GHSA-qrrf-xvcf-p64q CVE-2022-4797 MODERATE usememos/memos vulnerable Improper Restriction of Excessive Authentication Attempts
GHSA-ghx2-6v4g-9wmm CVE-2022-4796 HIGH usememos/memos makes Incorrect Use of Privileged APIs
GHSA-7qpw-2j9m-rw8c CVE-2022-4813 MODERATE usememos/memos has Insufficient Granularity of Access Control
GHSA-6fx9-29x2-fmfj CVE-2022-4814 MODERATE usememos/memos Improper Access Control vulnerability
GHSA-m5pr-wm6q-x4g2 CVE-2022-4812 MODERATE usememos/memos vulnerable to Comparison of Object References Instead of Object Contents
GHSA-hc5q-26h8-r9wf CVE-2022-4811 MODERATE usememos/memos Improper Authorization vulnerability
GHSA-qf9q-3wwx-8qjv CVE-2022-4810 MODERATE usememos/memos Improper Access Control vulnerability
GHSA-6w5w-wx8w-2cq9 CVE-2022-4809 HIGH usememos/memos Improper Access Control vulnerability
GHSA-gfj4-wg89-m22r CVE-2022-4807 MODERATE usememos/memos Improper Access Control vulnerability
GHSA-pp3p-6jjh-rmg7 CVE-2022-4806 MODERATE usememos/memos Improper Access Control vulnerability
GHSA-mq5q-gpgv-pwxw CVE-2022-4805 MODERATE usememos/memos Incorrect Use of Privileged APIs vulnerability
GHSA-f83p-pg86-p922 CVE-2022-4801 MODERATE usememos/memos has Insufficient Granularity of Access Control
GHSA-mfvq-m3jj-8864 CVE-2022-4800 MODERATE usememos/memos vulnerable to Improper Verification of Source of a Communication Channel
GHSA-j593-h5v3-45x6 CVE-2022-4734 MODERATE usememos/memos may leak user information to an authenticated user
GHSA-33m8-f4hw-wm3q CVE-2022-4767 HIGH usememos/memos Denial of Service vulnerability
GHSA-gxqf-4g4p-q3hc CVE-2022-4839 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-pwhr-p68w-296x CVE-2022-4840 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-rmhx-9h5h-3xh3 CVE-2022-4841 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-gw9m-2m5v-c6x5 CVE-2022-4845 MODERATE usememos/memos Cross-Site Request Forgery vulnerability
GHSA-cwrm-33qq-4w2x CVE-2022-4846 MODERATE usememos/memos Cross-Site Request Forgery vulnerability
GHSA-642q-2q68-9j3p CVE-2022-4849 MODERATE usememos/memos Cross-Site Request Forgery vulnerability
GHSA-5jqp-wmhj-g33f CVE-2022-4844 HIGH usememos/memos Cross-Site Request Forgery vulnerability
GHSA-c5hq-35h7-r9x4 CVE-2022-4850 MODERATE usememos/memos Cross-Site Request Forgery vulnerability
GHSA-r3p3-5f35-h6mf CVE-2022-4808 HIGH usememos/memos Improper Privilege Management vulnerability
GHSA-97rc-mm5j-f6rj CVE-2022-4691 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-v92p-phmp-xffr CVE-2022-4694 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-c2v4-8r9g-g5xj CVE-2022-4695 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-f552-97qx-c694 CVE-2022-4692 MODERATE usememos/memos vulnerable to stored Cross-site Scripting
GHSA-qcw2-492v-57xj CVE-2022-4683 MODERATE usememos/memos missing Secure cookie attribute
GHSA-qr52-59r6-49f4 CVE-2022-4684 HIGH usememos/memos Improper Access Control vulnerability
GHSA-fv6c-rfg3-gvjw CVE-2022-4687 HIGH usememos/memos makes Incorrect Use of Privileged APIs
GHSA-vwg4-846x-f94v CVE-2022-4688 HIGH usememos/memos vulnerable to improper authorization
GHSA-w57v-6xp4-rm2v CVE-2022-4689 HIGH usememos/memos vulnerable to account takeover due to improper access control
GHSA-c8jh-vcjh-fx2w CVE-2022-4690 MODERATE usememos/memos vulnerable to stored cross-site scripting (XSS)
GHSA-rgj5-jj5q-v3v7 CVE-2022-4609 MODERATE Memos Cross-site Scripting vulnerability

CVE-2026-6634 at a Glance

CVE Identifier CVE-2026-6634
GHSA Identifier GHSA-gqp3-hfc3-8q54
Severity LOW
CVSS v3.1 Base Score 6.3
CWE Classification CWE-266: Incorrect Privilege Assignment
Affected Product Github.com/usememos/memos
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-6634

To remediate this vulnerability, upgrade all affected Github.com/usememos/memos dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/usememos/memos fixed: Latest secure release
Upgrade github.com/usememos/memos to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/usememos/memos

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-6634, inspect your project dependencies for Github.com/usememos/memos:

inspect dependencies for github.com/usememos/memos

Analyze the terminal output to locate any version of Github.com/usememos/memos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Github.com/usememos/memos, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A weakness has been identified in usememos memos up to 0.22.1. This affects the function memos_access_token of the file src/App.tsx of the component UpdateInstanceSetting. This manipulation of the argument additionalStyle/additionalScript causes improper authorization. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

CVE-2026-6634 Affected Github.com/usememos/memos Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/usememos/memos
Go
≤ 0.22.1

References

Frequently Asked Questions

What is CVE-2026-6634?
CVE-2026-6634 is a security vulnerability in Github.com/usememos/memos involving Memos has an Incorrect Privilege Assignment issue under CWE-266: Incorrect Privilege Assignment.
Which Github.com/usememos/memos versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/usememos/memos.
What version fixes CVE-2026-6634?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/usememos/memos affected?
Yes, github.com/usememos/memos is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-6634?
CVE-2026-6634 has a CVSS v3.1 base score of 6.3 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-6634?
CVE-2026-6634 is classified under CWE-266: Incorrect Privilege Assignment (A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.).
How can I check Go dependencies for CVE-2026-6634?
Run the dependency tree command: 'inspect dependencies for github.com/usememos/memos'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gqp3-hfc3-8q54",
  "modified" : "2026-07-21T14:49:02Z",
  "published" : "2026-04-20T12:32:01Z",
  "aliases" : [ "CVE-2026-6634" ],
  "summary" : "Memos has an Incorrect Privilege Assignment issue",
  "details" : "A weakness has been identified in usememos memos up to 0.22.1. This affects the function memos_access_token of the file src/App.tsx of the component UpdateInstanceSetting. This manipulation of the argument additionalStyle/additionalScript causes improper authorization. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/usememos/memos"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.22.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6634"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Dave-gilmore-aus/security-advisories/blob/main/usememos-security-advisory"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-gqp3-hfc3-8q54"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/usememos/memos"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/793432"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/358268"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/358268/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-266" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-28T23:21:49Z",
    "nvd_published_at" : "2026-04-20T12:16:09Z"
  }
}