CVE-2025-6233Mattermost Server
Medium 4.9
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.9
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 18, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
What happens
Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file attachments in the bulk import JSONL file, which allows a system admin to read arbitrary system files via path traversal.
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.8.0 < 10.8.2 |
10.8.2 |
go get github.com/mattermost/mattermost-server@v10.8.2 |
| Go | github.com/mattermost/mattermost-server |
≥ 10.7.0 < 10.7.4 |
10.7.4 |
go get github.com/mattermost/mattermost-server@v10.7.4 |
| 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 |
≥ 10.7.0+incompatible < 10.7.4+incompatible |
10.7.4+incompatible |
go get github.com/mattermost/mattermost-server@v10.7.4+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.8.0+incompatible < 10.8.2+incompatible |
10.8.2+incompatible |
go get github.com/mattermost/mattermost-server@v10.8.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-20250529054450-d38c27f96fcf |
8.0.0-20250529054450-d38c27f96fcf |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250529054450-d38c27f96fcf |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250529054450-d38c27f96fcf |
8.0.0-20250529054450-d38c27f96fcf |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250529054450-d38c27f96fcf |
Per OSV / GitHub Advisories (GHSA-wvw2-3jh4-4c39, GO-2025-3820). 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 |
| mattermost | mattermost_server | ≥ 10.7.0 < 10.7.4 |
| mattermost | mattermost_server | ≥ 10.8.0 < 10.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory