MEDIUM4.3
GHSA-q8p2-2hwc-jw64
Mattermost fails to restrict channel export of archived channels
Quick fix
GHSA-q8p2-2hwc-jw64 — 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-20250110161910-96195f1bd746Details
Mattermost versions 10.1.x <= 10.1.3, 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 restrict channel export of archived channels when the "Allow users to view archived channels" is disabled which allows a user to export channel contents when they shouldn't have access to it
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-20250110161910-96195f1bd746Fix
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250110161910-96195f1bd746Go/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-24526[ADVISORY]
- https://github.com/mattermost/mattermost-plugin-channel-export/issues/51[WEB]
- https://github.com/mattermost/mattermost-plugin-channel-export/commit/3c052b66207fb734bfc4c948941e7f7522a82550[WEB]
- https://github.com/mattermost/mattermost/commit/96195f1bd7467f572525c35b5087acaeb53daa63[WEB]
- https://github.com/mattermost/mattermost[PACKAGE]
- https://mattermost.com/security-updates[WEB]