CVE-2025-20051Mattermost Server
Medium 6.5
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 62
- Auth required
- Yes
- Published
- Feb 24, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate input when patching and duplicating a board, which allows a user to read any arbitrary file on the system via duplicating a specially crafted block in Boards.
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 |
≥ 9.11.0-rc1+incompatible < 9.11.8+incompatible |
9.11.8+incompatible |
go get github.com/mattermost/mattermost-server@v9.11.8+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.2.0-rc1+incompatible < 10.2.3+incompatible |
10.2.3+incompatible |
go get github.com/mattermost/mattermost-server@v10.2.3+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.3.0-rc1+incompatible < 10.3.3+incompatible |
10.3.3+incompatible |
go get github.com/mattermost/mattermost-server@v10.3.3+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.4.0-rc1+incompatible < 10.4.2+incompatible |
10.4.2+incompatible |
go get github.com/mattermost/mattermost-server@v10.4.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 |
< 8.0.0-20250122165010-4ed702ccff4e |
8.0.0-20250122165010-4ed702ccff4e |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250122165010-4ed702ccff4e |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.11.0-rc1 < 9.11.8 |
9.11.8 |
go get github.com/mattermost/mattermost/server/v8@v9.11.8 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.2.0-rc1 < 10.2.3 |
10.2.3 |
go get github.com/mattermost/mattermost/server/v8@v10.2.3 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.3.0-rc1 < 10.3.3 |
10.3.3 |
go get github.com/mattermost/mattermost/server/v8@v10.3.3 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.4.0-rc1 < 10.4.2 |
10.4.2 |
go get github.com/mattermost/mattermost/server/v8@v10.4.2 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250122165010-4ed702ccff4e |
8.0.0-20250122165010-4ed702ccff4e |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250122165010-4ed702ccff4e |
Per OSV / GitHub Advisories (GO-2025-3483, GHSA-v469-7wp6-7cvp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 9.11.0 < 9.11.8 |
| mattermost | mattermost_server | ≥ 10.2.0 < 10.2.3 |
| mattermost | mattermost_server | ≥ 10.3.0 < 10.3.3 |
| mattermost | mattermost_server | ≥ 10.4.0 < 10.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory