CVE-2025-27936Webhook Secret Exposure via Timing attack in MSteams plugin
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Go has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/mattermost/mattermost-plugin-msteams | Fixed | 2.1.0 | GHSA-2j87-p623-8cc2 |
| Go library | github.com/mattermost/mattermost-server | Fixed | 10.5.2+incompatible | GO-2025-3618 |
| Go library | github.com/mattermost/mattermost-server/v5 | Fix pending | GO-2025-3618 | |
| Go library | github.com/mattermost/mattermost-server/v6 | Fix pending | GO-2025-3618 | |
| Go library | github.com/mattermost/mattermost/server/v8 | Fixed | 10.5.2 | GO-2025-3618 |
What the vendor says
As published in the CVE record by Mattermost, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Mattermost: affected: 10.5.0 to 10.5.1, 10.6.0 not affected, 10.5.2 not affected
Solution: Update Mattermost Plugin MSTeams to version 2.1.1 or Mattermost Server to versions 10.6.0, 10.5.2 or higher.
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.