Live threats

All CVEs / Mattermost

CVE-2024-29221Mattermost Server

Low 3.8

Priority
23
CVSS 3.1
3.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 33
Auth required
Yes
Published
Apr 5, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

What happens

Improper Access Control in Mattermost Server versions 9.5.x before 9.5.2, 9.4.x before 9.4.4, 9.3.x before 9.3.3, 8.1.x before 8.1.11 lacked proper access control in the `/api/v4/users/me/teams` endpoint allowing a team admin to get the invite ID of their team, thus allowing them to invite users, even if the "Add Members" permission was explicitly removed from team admins.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mattermost Server.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/mattermost/mattermost-server ≥ 9.3.0+incompatible < 9.3.3+incompatible 9.3.3+incompatible go get github.com/mattermost/mattermost-server@v9.3.3+incompatible
Go github.com/mattermost/mattermost-server ≥ 9.4.0+incompatible < 9.4.4+incompatible 9.4.4+incompatible go get github.com/mattermost/mattermost-server@v9.4.4+incompatible
Go github.com/mattermost/mattermost-server ≥ 9.5.0+incompatible < 9.5.2+incompatible 9.5.2+incompatible go get github.com/mattermost/mattermost-server@v9.5.2+incompatible
Go github.com/mattermost/mattermost-server/v5 all no fixed version —
Go github.com/mattermost/mattermost-server/v6 all no fixed version —
Go github.com/mattermost/mattermost/server/v8 ≥ 8.1.0 < 8.1.11 8.1.11 go get github.com/mattermost/mattermost/server/v8@v8.1.11
Go github.com/mattermost/mattermost/server/v8 ≥ 9.5.0 < 9.5.2 9.5.2 go get github.com/mattermost/mattermost/server/v8@v9.5.2
Go github.com/mattermost/mattermost/server/v8 ≥ 9.4.0 < 9.4.4 9.4.4 go get github.com/mattermost/mattermost/server/v8@v9.4.4
Go github.com/mattermost/mattermost/server/v8 ≥ 9.3.0 < 9.3.3 9.3.3 go get github.com/mattermost/mattermost/server/v8@v9.3.3
Go github.com/mattermost/mattermost/server/v8 all no fixed version —

Per OSV / GitHub Advisories (GO-2024-2706, GHSA-w67v-ph4x-f48q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mattermostmattermost_server≥ 8.1.0 < 8.1.11
mattermostmattermost_server≥ 9.3.0 < 9.3.3
mattermostmattermost_server≥ 9.4.0 < 9.4.4
mattermostmattermost_server≥ 9.5.0 < 9.5.2

Official sources

References

Links published by the sources. Open them with care.