CVE-2025-27936Mattermost Server
Medium 5.9 No auth needed
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Apr 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-208
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for Mattermost Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-plugin-msteams |
< 2.1.0 |
2.1.0 |
go get github.com/mattermost/mattermost-plugin-msteams@v2.1.0 |
| Go | github.com/mattermost/mattermost-plugin-msteams |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server |
≥ 10.5.0+incompatible < 10.5.2+incompatible |
10.5.2+incompatible |
go get github.com/mattermost/mattermost-server@v10.5.2+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.5.0 < 10.5.2 |
10.5.2 |
go get github.com/mattermost/mattermost/server/v8@v10.5.2 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250314142426-c049748b8863 |
8.0.0-20250314142426-c049748b8863 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250314142426-c049748b8863 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250218121836-2b5275d87136 |
8.0.0-20250218121836-2b5275d87136 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250218121836-2b5275d87136 |
Per OSV / GitHub Advisories (GHSA-2j87-p623-8cc2, GO-2025-3618). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | < 10.5.2 |
| mattermost | ms_teams | < 2.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory