CVE-2025-6227Mattermost Server
Low 3.1
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 19
- CVSS 3.1
- 3.1
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 18, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-522
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
What happens
Mattermost versions 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to negotiate a new token when accepting the invite which allows a user that intercepts both invite and password to send synchronization payloads to the server that originally created the invite via the REST API.
What to do
- Apply the vendor's security update for Mattermost Server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
≥ 10.5.0 < 10.5.8 |
10.5.8 |
go get github.com/mattermost/mattermost-server@v10.5.8 |
| Go | github.com/mattermost/mattermost-server |
≥ 9.11.0 < 9.11.17 |
9.11.17 |
go get github.com/mattermost/mattermost-server@v9.11.17 |
| Go | github.com/mattermost/mattermost-server |
≥ 9.11.0+incompatible < 9.11.17+incompatible |
9.11.17+incompatible |
go get github.com/mattermost/mattermost-server@v9.11.17+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.5.0+incompatible < 10.5.8+incompatible |
10.5.8+incompatible |
go get github.com/mattermost/mattermost-server@v10.5.8+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 |
< 8.0.0-20250612074655-8f8612c63783 |
8.0.0-20250612074655-8f8612c63783 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250612074655-8f8612c63783 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250612074655-8f8612c63783 |
8.0.0-20250612074655-8f8612c63783 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250612074655-8f8612c63783 |
Per OSV / GitHub Advisories (GHSA-4fwj-8595-wp25, GO-2025-3818). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 9.11.0 < 9.11.17 |
| mattermost | mattermost_server | ≥ 10.5.0 < 10.5.8 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory