CVE-2026-20796 Time-of-check time-of-use vulnerability in common teams API

Low 3.1 Published Updated

A race condition in the common teams API allows deactivated users to access unauthorized team names, requiring an upgrade to Mattermost.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-20796?

CVE-2026-20796 is a low-severity vulnerability in Mattermost Mattermost Server, published on 13 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost versions 10.11.x <= 10.11.9 fail to properly validate channel membership at the time of data retrieval which allows a deactivated user to learn team names they should not have access to via a race condition in the /common_teams API endpoint.. Mattermost Advisory ID: MMSA-2025-00549

Weakness: CWE-367

Which versions are affected by CVE-2026-20796?

3 open source packages ship an affected version, including github.com/mattermost/mattermost-server. It affects 1 product.

PackageAffectedFixed in
github.com/mattermost/mattermost-server GoFrom 10.11.010.11.10
github.com/mattermost/mattermost-server GoFrom 10.11.010.11.10
github.com/mattermost/mattermost-server GoFrom 10.11.0+incompatible10.11.10+incompatible

Products include Mattermost Mattermost Server.

How do I fix CVE-2026-20796?

Upgrade github.com/mattermost/mattermost-server to a fixed version for your release line: 10.11.10 or 10.11.10+incompatible.

Is CVE-2026-20796 being exploited?

There is no known exploitation of CVE-2026-20796 in the wild and no public exploit code.

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as GHSA-2xf7-hmf6-p64j, GO-2026-4495.

Is CVE-2026-20796 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free