Skip to content
OpenAdvisories
Medium · 6.8 CVE-2025-6233 EUVD-2025-21866GHSA-wvw2-3jh4-4c39GO-2025-3820

Arbitrary file read by system admin via path traversal

Published Jul 18, 2025 · Updated Jul 18, 2025 · Assigned by Mattermost

Description

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.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 10.8.0 – ≤ 10.8.1, 10.7.0 – ≤ 10.7.3, 10.5.0 – ≤ 10.5.7, 9.11.0 – ≤ 9.11.16 10.9.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250730T213748-1.1 openSUSE-SU-2025:15405-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 10.8.0, < 10.8.2 10.8.2 GHSA-wvw2-3jh4-4c39
Go github.com/mattermost/mattermost-server >= 10.7.0, < 10.7.4 10.7.4 GHSA-wvw2-3jh4-4c39
Go github.com/mattermost/mattermost-server >= 10.5.0, < 10.5.8 10.5.8 GHSA-wvw2-3jh4-4c39
Go github.com/mattermost/mattermost-server >= 9.11.0, < 9.11.17 9.11.17 GHSA-wvw2-3jh4-4c39
Go github.com/mattermost/mattermost-server >= 9.11.0+incompatible, < 9.11.17+incompatible · >= 10.5.0+incompatible, < 10.5.8+incompatible · >= 10.7.0+incompatible, < 10.7.4+incompatible · >= 10.8.0+incompatible, < 10.8.2+incompatible 9.11.17+incompatible, 10.5.8+incompatible, 10.7.4+incompatible, 10.8.2+incompatible GO-2025-3820
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2025-3820
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2025-3820
Go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250529054450-d38c27f96fcf 8.0.0-20250529054450-d38c27f96fcf GHSA-wvw2-3jh4-4c39

Advisories 1

References