CVE-2025-27936

Medium

Description

Mattermost Plugin MSTeams versions <2.1.0 and Mattermost Server versions 10.5.x <=10.5.1 with the MS Teams plugin enabled fail to perform constant time comparison on a MSTeams plugin webhook secret which allows an attacker to retrieve the webhook secret of the MSTeams plugin via a timing attack during webhook secret comparison.

SeverityMedium
CVSS5.3
Exploit probability—
ProductMattermost Server
PublishedApr 16, 2025
First seenApr 16, 2025
Weakness typeCWE-208CWE-208

How to fix

Update
  • mattermost mattermost_server10.5.2 or later
  • mattermost ms_teams2.1.0 or later
  • github.com/mattermost/mattermost/server/v810.5.2, 8.0.0-20250314142426-c049748b8863, 8.0.0-20250218121836-2b5275d87136 or later
  • github.com/mattermost/mattermost-plugin-msteams2.1.0 or later
  • github.com/mattermost/mattermost-server10.5.2+incompatible or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_serverv < 10.5.210.5.2
mattermost ms_teamsv < 2.1.02.1.0
github.com/mattermost/mattermost/server/v8Go10.5.0 ≤ v < 10.5.2, v < 8.0.0-20250314142426-c049748b8863, v < 8.0.0-20250218121836-2b5275d8713610.5.2, 8.0.0-20250314142426-c049748b8863, 8.0.0-20250218121836-2b5275d87136
github.com/mattermost/mattermost-plugin-msteamsGov < 2.1.0, No range specified2.1.0
github.com/mattermost/mattermost-serverGo10.5.0+incompatible ≤ v < 10.5.2+incompatible10.5.2+incompatible
github.com/mattermost/mattermost-server/v5GoNo range specified—
github.com/mattermost/mattermost-server/v6GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.