CRITICAL9.9
GHSA-v469-7wp6-7cvp
Mattermost allows reading arbitrary files
Quick fix
GHSA-v469-7wp6-7cvp — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250122165010-4ed702ccff4eDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost/server/v8
Introduced in:
0Fixed in: 8.0.0-20250122165010-4ed702ccff4eFix
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250122165010-4ed702ccff4eGo/github.com/mattermost/mattermost/server/v8
Introduced in:
9.11.0-rc1Fixed in: 9.11.8Fix
go get github.com/mattermost/mattermost/server/v8@v9.11.8Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.2.0-rc1Fixed in: 10.2.3Fix
go get github.com/mattermost/mattermost/server/v8@v10.2.3Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.3.0-rc1Fixed in: 10.3.3Fix
go get github.com/mattermost/mattermost/server/v8@v10.3.3Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.4.0-rc1Fixed in: 10.4.2Fix
go get github.com/mattermost/mattermost/server/v8@v10.4.2References
- https://nvd.nist.gov/vuln/detail/CVE-2025-20051[ADVISORY]
- https://github.com/mattermost/mattermost-plugin-boards/commit/025ce8d363a054473bc002f43f602a4032d38c06[WEB]
- https://github.com/mattermost/mattermost/commit/4ed702ccff4ec3c9eff832a9b6060f9f4454141d[WEB]
- https://github.com/mattermost/mattermost[PACKAGE]
- https://mattermost.com/security-updates[WEB]