MediumGHSA-xpvf-6qcc-9jqcCVE-2026-4265GO-2026-4749

Mattermost fails to validate team-specific upload_file permissions

Published 16 Mar 2026 · Updated 23 Mar 2026

Is your project on an affected github.com/mattermost/mattermost/server/v8?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<8.0.0-20260107144005-c7f6efdfb035
Fixed in
8.0.0-20260107144005-c7f6efdfb035
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260107144005-c7f6efdfb035
Affected
<5.3.2-0.20260107144005-c7f6efdfb035
Fixed in
5.3.2-0.20260107144005-c7f6efdfb035
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server@v5.3.2-0.20260107144005-c7f6efdfb035
Affected
>=10.11.0-rc1 <10.11.11
Fixed in
10.11.11
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server@v10.11.11
Affected
>=11.2.0-rc1 <11.2.3
Fixed in
11.2.3
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server@v11.2.3
Affected
>=11.3.0-rc1 <11.3.1
Fixed in
11.3.1
Update to the fixed version for your release line, for example:go get github.com/mattermost/mattermost-server@v11.3.1

Details

Mattermost versions 11.3.x <= 11.3.0, 11.2.x <= 11.2.2, 10.11.x <= 10.11.10 fail to validate team-specific upload_file permissions which allows a guest user to post files in channels where they lack upload_file permission via uploading files in a team where they have permission and reusing the file metadata in a POST request to a different team. Mattermost Advisory ID: MMSA-2025-00553

Is GHSA-xpvf-6qcc-9jqc in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/mattermost/mattermost/server/v8, and gives you the command that fixes it.

More advisories for github.com/mattermost/mattermost/server/v8

  • LowCVE-2026-8823Mattermost has an Incorrect Authorization issue in github.com/mattermost/mattermost-server · 1 Oct 2026
  • LowCVE-2026-6046Mattermost doesn't validate that a username returned during bot registration belongs to a bot account in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-7387Mattermost doesn't require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-6961Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-7184Mattermost doesn't sanitize the Remote Cluster API response on PATCH operations in github.com/mattermost/mattermost-server · 25 Aug 2026
  • LowCVE-2026-6689Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation in github.com/mattermost/mattermost-server · 25 Aug 2026
All 393 advisories for github.com/mattermost/mattermost/server/v8

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.