Skip to content

CVE-2025-20051 Arbitrary file read via block duplication in Mattermost Boards

MediumCVSS 6.5 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

4 packages: 3 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.11.0-rc1+incompatible, < 9.11.8+incompatible; >= 10.2.0-rc1+incompatible, < 10.2.3+incompatible; >= 10.3.0-rc1+incompatible, < 10.3.3+incompatible; >= 10.4.0-rc1+incompatible, < 10.4.2+incompatible +1 more 9.11.8+incompatible, 10.2.3+incompatible, 10.3.3+incompatible, 10.4.2+incompatible Partially fixed
Mattermost >= 9.11.0, <= 9.11.7; >= 10.2.0, <= 10.2.2; >= 10.3.0, <= 10.3.2; >= 10.4.0, <= 10.4.1 after 9.11.7, 10.2.2, 10.3.2, 10.4.1 Fixed
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250122165010-4ed702ccff4e; >= 9.11.0-rc1, < 9.11.8; >= 10.2.0-rc1, < 10.2.3; >= 10.3.0-rc1, < 10.3.3 +1 more 8.0.0-20250122165010-4ed702ccff4e, 9.11.8, 10.2.3, 10.3.3, 10.4.2 Fixed
mattermost server >= 9.11.0, < 9.11.8; >= 10.2.0, < 10.2.3; >= 10.3.0, < 10.3.3; >= 10.4.0, < 10.4.2 9.11.8, 10.2.3, 10.3.3, 10.4.2 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250122165010-4ed702ccff4e 8.0.0-20250122165010-4ed702ccff4e
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.11.0-rc1, < 9.11.8 9.11.8
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.2.0-rc1, < 10.2.3 10.2.3
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.3.0-rc1, < 10.3.3 10.3.3
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 10.4.0-rc1, < 10.4.2 10.4.2
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.11.0-rc1+incompatible, < 9.11.8+incompatible 9.11.8+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.2.0-rc1+incompatible, < 10.2.3+incompatible 10.2.3+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.3.0-rc1+incompatible, < 10.3.3+incompatible 10.3.3+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 10.4.0-rc1+incompatible, < 10.4.2+incompatible 10.4.2+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost >= 10.4.0, <= 10.4.1 No fix listed
Mattermost >= 9.11.0, <= 9.11.7 No fix listed
Mattermost >= 10.3.0, <= 10.3.2 No fix listed
Mattermost >= 10.2.0, <= 10.2.2 No fix listed
mattermost server >= 9.11.0, < 9.11.8 9.11.8
mattermost server >= 10.2.0, < 10.2.3 10.2.3
mattermost server >= 10.3.0, < 10.3.3 10.3.3
mattermost server >= 10.4.0, < 10.4.2 10.4.2

References