---
id: CVE-2026-6634
aliases:
  - GHSA-gqp3-hfc3-8q54
  - GO-2026-5403
title: Memos has an Incorrect Privilege Assignment issue
summary: Memos has an Incorrect Privilege Assignment issue
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: usememos
product: github.com/usememos/memos
ecosystem: go
affected:
  - github.com/usememos/memos <= 0.22.1
published: '2026-04-20'
updated: '2026-07-21'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-gqp3-hfc3-8q54'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6634'
  - url: >-
      https://github.com/Dave-gilmore-aus/security-advisories/blob/main/usememos-security-advisory
  - url: 'https://github.com/advisories/GHSA-gqp3-hfc3-8q54'
  - url: 'https://github.com/usememos/memos'
  - url: 'https://vuldb.com/submit/793432'
  - url: 'https://vuldb.com/vuln/358268'
  - url: 'https://vuldb.com/vuln/358268/cti'
tags:
  - osv
  - go
epss: 0.00347
epssPercentile: 0.25615
ingestedAt: '2026-07-21T19:04:59.237Z'
---

## Overview

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.

## Affected packages

- `github.com/usememos/memos <= 0.22.1`

## Remediation

Refer to the advisory for the patched release.
