MEDIUM4.3
GHSA-h4rr-f37j-4hh7
Mattermost Incorrect Authorization vulnerability
Quick fix
GHSA-h4rr-f37j-4hh7 — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.
go get github.com/mattermost/mattermost/server/v8@v10.5.2Details
Mattermost versions 10.5.x <= 10.5.1, 10.4.x <= 10.4.3, 9.11.x <= 9.11.9 fail to check the "Allow Users to View Archived Channels" configuration when fetching channel metadata of a post from archived channels, which allows authenticated users to access such information when a channel is archived.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.5.0Fixed in: 10.5.2Fix
go get github.com/mattermost/mattermost/server/v8@v10.5.2Go/github.com/mattermost/mattermost/server/v8
Introduced in:
10.4.0Fixed in: 10.4.4Fix
go get github.com/mattermost/mattermost/server/v8@v10.4.4Go/github.com/mattermost/mattermost/server/v8
Introduced in:
9.11.0Fixed in: 9.11.10Fix
go get github.com/mattermost/mattermost/server/v8@v9.11.10Go/github.com/mattermost/mattermost/server/v8
Introduced in:
0Fixed in: 8.0.0-20250314142426-c049748b8863Fix
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250314142426-c049748b8863References
- https://nvd.nist.gov/vuln/detail/CVE-2025-27571[ADVISORY]
- https://github.com/mattermost/mattermost/commit/341186355d982ac4cbe37668d7cdb0cf6275fe44[WEB]
- https://github.com/mattermost/mattermost/commit/629f68a85dd6ed5ba0c51a9356c3a3200f50657f[WEB]
- https://github.com/mattermost/mattermost/commit/8e82d8df61068fc56b0f3e51ef1cc947bc87cec1[WEB]
- https://github.com/mattermost/mattermost/commit/ae8a952bcaaa5f77a92043e2538f625eac72e927[WEB]
- https://github.com/mattermost/mattermost/commit/c6f6b664811795f36b9cf05b0e2b537c44c65bc1[WEB]
- https://github.com/mattermost/mattermost[PACKAGE]
- https://mattermost.com/security-updates[WEB]
- https://pkg.go.dev/vuln/GO-2025-3619[WEB]