Time-of-check Time-of-use (TOCTOU) Race Condition Affecting github.com/mattermost/mattermost/server/channels/app package, versions <10.11.13>=11.3.0-rc1 <11.3.3>=11.4.0-rc1 <11.4.3>=11.5.0-rc1 <11.5.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSAPP-16322707
  • published30 Apr 2026
  • disclosed17 Apr 2026
  • creditUnknown

Introduced: 17 Apr 2026

CVE-2026-3590  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/app to version 10.11.13, 11.3.3, 11.4.3, 11.5.1 or higher.

Overview

github.com/mattermost/mattermost/server/channels/app is a private-cloud Slack alternative

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the authentication process. An attacker can gain unauthorized access to multiple authenticated sessions by reusing a valid guest magic link token through concurrent requests.

CVSS Base Scores

version 4.0
version 3.1