---
id: CVE-2026-6062
aliases:
  - GHSA-mxq2-5jpg-7474
title: >-
  Mattermost doesn't validate channel ownership of an existing subscription
  before applying edits
summary: >-
  Mattermost doesn't validate channel ownership of an existing subscription
  before applying edits
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L'
vendor: mattermost
product: github.com/mattermost/mattermost-server
ecosystem: go
affected:
  - 'github.com/mattermost/mattermost-server >= 11.7.0, < 11.7.1'
  - 'github.com/mattermost/mattermost-server >= 11.6.0, < 11.6.3'
  - 'github.com/mattermost/mattermost-server >= 11.5.0, < 11.5.6'
  - 'github.com/mattermost/mattermost-server >= 10.11.0, < 10.11.18'
patched:
  - github.com/mattermost/mattermost-server 11.7.1
  - github.com/mattermost/mattermost-server 11.6.3
  - github.com/mattermost/mattermost-server 11.5.6
  - github.com/mattermost/mattermost-server 10.11.18
published: '2026-06-22'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T20:00:39.342129037Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-mxq2-5jpg-7474'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6062'
  - url: 'https://github.com/mattermost/mattermost'
  - url: 'https://mattermost.com/security-updates'
  - url: 'https://github.com/advisories/GHSA-mxq2-5jpg-7474'
tags:
  - osv
  - go
  - ghsa
epss: 0.0024
epssPercentile: 0.13357
cwe:
  - CWE-639
ingestedAt: '2026-09-15T20:44:02.611Z'
---

## Overview

Mattermost versions 11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17 Fail to validate channel ownership of an existing subscription before applying edits which allows an authenticated attacker to hijack subscriptions from channels they have no access to via a crafted PUT request to the subscription edit endpoint.. Mattermost Advisory ID: MMSA-2026-00650

## Affected packages

- `github.com/mattermost/mattermost-server >= 11.7.0, < 11.7.1`
- `github.com/mattermost/mattermost-server >= 11.6.0, < 11.6.3`
- `github.com/mattermost/mattermost-server >= 11.5.0, < 11.5.6`
- `github.com/mattermost/mattermost-server >= 10.11.0, < 10.11.18`

## Remediation

Upgrade to a patched release:

- `github.com/mattermost/mattermost-server 11.7.1`
- `github.com/mattermost/mattermost-server 11.6.3`
- `github.com/mattermost/mattermost-server 11.5.6`
- `github.com/mattermost/mattermost-server 10.11.18`
