Skip to content

CVE-2025-6233 Arbitrary file read by system admin via path traversal

MediumCVSS 4.9 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.11.0+incompatible, < 9.11.17+incompatible; >= 9.11.0, < 9.11.17; >= 10.5.0+incompatible, < 10.5.8+incompatible; >= 10.5.0, < 10.5.8 +5 more 9.11.17, 9.11.17+incompatible, 10.5.8, 10.5.8+incompatible, 10.7.4, 10.7.4+incompatible, 10.8.2, 10.8.2+incompatible Partially fixed
Mattermost >= 9.11.0, <= 9.11.16; >= 10.5.0, <= 10.5.7; >= 10.7.0, <= 10.7.3; >= 10.8.0, <= 10.8.1 after 9.11.16, 10.5.7, 10.7.3, 10.8.1 Fixed
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250529054450-d38c27f96fcf 8.0.0-20250529054450-d38c27f96fcf Fixed
mattermost server >= 9.11.0, < 9.11.17; >= 10.5.0, < 10.5.8; >= 10.7.0, < 10.7.4; >= 10.8.0, < 10.8.2 9.11.17, 10.5.8, 10.7.4, 10.8.2 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.8.0, < 10.8.2 10.8.2
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.7.0, < 10.7.4 10.7.4
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0, < 10.5.8 10.5.8
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.11.0, < 9.11.17 9.11.17
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250529054450-d38c27f96fcf 8.0.0-20250529054450-d38c27f96fcf
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.11.0+incompatible, < 9.11.17+incompatible 9.11.17+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.5.0+incompatible, < 10.5.8+incompatible 10.5.8+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.7.0+incompatible, < 10.7.4+incompatible 10.7.4+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.8.0+incompatible, < 10.8.2+incompatible 10.8.2+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost >= 10.8.0, <= 10.8.1 No fix listed
Mattermost >= 10.7.0, <= 10.7.3 No fix listed
Mattermost >= 10.5.0, <= 10.5.7 No fix listed
Mattermost >= 9.11.0, <= 9.11.16 No fix listed
mattermost server >= 9.11.0, < 9.11.17 9.11.17
mattermost server >= 10.5.0, < 10.5.8 10.5.8
mattermost server >= 10.7.0, < 10.7.4 10.7.4
mattermost server >= 10.8.0, < 10.8.2 10.8.2

References