---
id: CVE-2026-7184
aliases:
  - GHSA-9p44-r552-4wp9
title: >-
  Mattermost doesn't sanitize the Remote Cluster API response on PATCH
  operations
summary: >-
  Mattermost doesn't sanitize the Remote Cluster API response on PATCH
  operations
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
vendor: mattermost
product: github.com/mattermost/mattermost-server
ecosystem: go
affected:
  - 'github.com/mattermost/mattermost-server >= 11.6.0, < 11.6.1'
  - 'github.com/mattermost/mattermost-server >= 11.5.0, < 11.5.5'
  - 'github.com/mattermost/mattermost-server >= 10.11.0, < 10.11.16'
  - >-
    github.com/mattermost/mattermost/server/v8 >=
    8.0.0-20250731163400-5b955468ea1e, < 8.0.0-20260428142921-bd8fc9222672
patched:
  - github.com/mattermost/mattermost-server 11.6.1
  - github.com/mattermost/mattermost-server 11.5.5
  - github.com/mattermost/mattermost-server 10.11.16
  - github.com/mattermost/mattermost/server/v8 8.0.0-20260428142921-bd8fc9222672
published: '2026-06-12'
updated: '2026-08-25'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-9p44-r552-4wp9'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7184'
  - url: 'https://github.com/mattermost/mattermost/pull/36313'
  - url: 'https://github.com/mattermost/mattermost/pull/36311'
  - url: 'https://github.com/mattermost/mattermost/pull/36310'
  - url: 'https://github.com/mattermost/mattermost/pull/36306'
  - url: 'https://github.com/mattermost/mattermost/pull/36288'
  - url: >-
      https://github.com/mattermost/mattermost/commit/cad3e8e51a4d8627af6442f9df8ae3667fac7fc1
  - url: >-
      https://github.com/mattermost/mattermost/commit/c5e67e28271c23cb585fe1a30ae81defcde848d6
  - url: >-
      https://github.com/mattermost/mattermost/commit/bd8fc92226726da06c8fabaef568cc9ebaee1cb8
  - url: >-
      https://github.com/mattermost/mattermost/commit/6fd49f56b5920569218fd2fc76d8ae802942f274
  - url: >-
      https://github.com/mattermost/mattermost/commit/1a0643df00c1f51a3b7e919eec034eaf955f612f
  - url: 'https://github.com/mattermost/mattermost/releases/tag/v10.11.16'
  - url: 'https://github.com/mattermost/mattermost/releases/tag/v11.5.5'
  - url: 'https://github.com/mattermost/mattermost/releases/tag/v11.6.2'
  - url: 'https://github.com/mattermost/mattermost/releases/tag/v11.7.0'
  - url: 'https://mattermost.com/security-updates'
  - url: 'https://github.com/mattermost/mattermost'
tags:
  - osv
  - go
epss: 0.00438
epssPercentile: 0.3559
ingestedAt: '2026-08-25T19:26:23.032Z'
---

## Overview

Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15 fail to sanitize the Remote Cluster API response on PATCH operations, which allows authenticated users with the {{manage_secure_connections}} permission to obtain remote cluster authentication tokens via a PATCH request to the remote cluster endpoint. Mattermost Advisory ID: MMSA-2026-00662

## Affected packages

- `github.com/mattermost/mattermost-server >= 11.6.0, < 11.6.1`
- `github.com/mattermost/mattermost-server >= 11.5.0, < 11.5.5`
- `github.com/mattermost/mattermost-server >= 10.11.0, < 10.11.16`
- `github.com/mattermost/mattermost/server/v8 >= 8.0.0-20250731163400-5b955468ea1e, < 8.0.0-20260428142921-bd8fc9222672`

## Remediation

Upgrade to a patched release:

- `github.com/mattermost/mattermost-server 11.6.1`
- `github.com/mattermost/mattermost-server 11.5.5`
- `github.com/mattermost/mattermost-server 10.11.16`
- `github.com/mattermost/mattermost/server/v8 8.0.0-20260428142921-bd8fc9222672`
