---
id: CVE-2026-9162
aliases:
  - GHSA-h998-hxxj-8q83
title: >-
  Mattermost doesn't invalidate cached authentication state for active WebSocket
  connections during global session revocation
summary: >-
  Mattermost doesn't invalidate cached authentication state for active WebSocket
  connections during global session revocation
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
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.334647288Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-h998-hxxj-8q83'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-9162'
  - url: 'https://github.com/mattermost/mattermost'
  - url: 'https://mattermost.com/security-updates'
  - url: 'https://github.com/advisories/GHSA-h998-hxxj-8q83'
tags:
  - osv
  - go
  - ghsa
epss: 0.00334
epssPercentile: 0.26942
cwe:
  - CWE-613
ingestedAt: '2026-09-15T20:44:02.610Z'
---

## 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 invalidate cached authentication state for active WebSocket connections during global session revocation, which allows a user with an existing WebSocket connection to remain authenticated and continue receiving real-time events until the cached session expires or the client reconnects.. Mattermost Advisory ID: MMSA-2026-00664

## 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`
